From 3a8cf5c97c1ea1e725f386e644678843d2f2f718 Mon Sep 17 00:00:00 2001 From: lyx0 <66651385+lyx0@users.noreply.github.com> Date: Mon, 1 Nov 2021 19:41:15 +0100 Subject: [PATCH] add comment --- pkg/db/listchannel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/db/listchannel.go b/pkg/db/listchannel.go index b1ca8e1..1f8c310 100644 --- a/pkg/db/listchannel.go +++ b/pkg/db/listchannel.go @@ -8,8 +8,8 @@ import ( "go.mongodb.org/mongo-driver/bson" ) -// InitialJoin is called everytime the Bot starts and joins the -// initial list of twitch channels it should be in. +// Listchannel reads the list of channel from the database and +// whispers them to my own account. func ListChannel(nb *bot.Bot) { collection := nb.MongoClient.Database("nourybot").Collection("channels")