mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add comment
This commit is contained in:
parent
cedab50ab7
commit
3a8cf5c97c
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue