add comment

This commit is contained in:
lyx0 2021-11-01 19:41:15 +01:00
parent cedab50ab7
commit 3a8cf5c97c

View file

@ -8,8 +8,8 @@ import (
"go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson"
) )
// InitialJoin is called everytime the Bot starts and joins the // Listchannel reads the list of channel from the database and
// initial list of twitch channels it should be in. // whispers them to my own account.
func ListChannel(nb *bot.Bot) { func ListChannel(nb *bot.Bot) {
collection := nb.MongoClient.Database("nourybot").Collection("channels") collection := nb.MongoClient.Database("nourybot").Collection("channels")