rename to JoinChannels

This commit is contained in:
lyx0 2021-10-27 20:01:59 +02:00
parent ff135f615b
commit 6e6440e6b0
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ func main() {
})
// nb.TwitchClient.Join("nouryqt", "nourybot")
db.ListChannels(nb)
db.JoinChannels(nb)
// nb.Send("nourybot", "HeyGuys")
nb.TwitchClient.Connect()
}

View file

@ -68,7 +68,7 @@ func InsertInitialData() {
}
func ListChannels(nb *bot.Bot) {
func JoinChannels(nb *bot.Bot) {
client := Connect()
collection := client.Database("nourybot").Collection("channels")