mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
rename to JoinChannels
This commit is contained in:
parent
ff135f615b
commit
6e6440e6b0
|
@ -43,7 +43,7 @@ func main() {
|
|||
})
|
||||
|
||||
// nb.TwitchClient.Join("nouryqt", "nourybot")
|
||||
db.ListChannels(nb)
|
||||
db.JoinChannels(nb)
|
||||
// nb.Send("nourybot", "HeyGuys")
|
||||
nb.TwitchClient.Connect()
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ func InsertInitialData() {
|
|||
|
||||
}
|
||||
|
||||
func ListChannels(nb *bot.Bot) {
|
||||
func JoinChannels(nb *bot.Bot) {
|
||||
client := Connect()
|
||||
|
||||
collection := client.Database("nourybot").Collection("channels")
|
||||
|
|
Loading…
Reference in a new issue