From d6f961293df3ce763b9753d02cd748f002ee8ae8 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Fri, 29 Oct 2021 00:00:11 +0200 Subject: [PATCH] use nb.Send instead of nb.TwitchClient.Say --- pkg/db/initialjoin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/db/initialjoin.go b/pkg/db/initialjoin.go index d4efab6..757c7a4 100644 --- a/pkg/db/initialjoin.go +++ b/pkg/db/initialjoin.go @@ -41,5 +41,5 @@ func InitialJoin(nb *bot.Bot) { log.Infof("Joined: %s\n", ch.Name) } // It worked - nb.TwitchClient.Say("nourybot", fmt.Sprintf("Badabing Badaboom Pepepains Joined %v channel", channelCount)) + nb.Send("nourybot", fmt.Sprintf("Badabing Badaboom Pepepains Joined %v channel", channelCount)) }