diff --git a/cmd/bot/bot.go b/cmd/bot/bot.go index 1480910..e4138e7 100644 --- a/cmd/bot/bot.go +++ b/cmd/bot/bot.go @@ -20,8 +20,8 @@ func (b *Bot) Send(target, text string) { return } - // if message[0] == '.' || message[0] == '/' { - // message = ". " + message + // if text[0] == '.' || text[0] == '/' { + // text = ". " + text // } if len(text) > 500 { diff --git a/pkg/handlers/command.go b/pkg/handlers/command.go index 7b9754a..f360df5 100644 --- a/pkg/handlers/command.go +++ b/pkg/handlers/command.go @@ -203,7 +203,7 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) { } case "thumb": if msgLen == 1 { - nb.Send(target, "Usage: ()thumbnail [channel]") + nb.Send(target, "Usage: ()thumb [channel]") return } else { commands.Thumbnail(target, cmdParams[1], nb) @@ -249,7 +249,6 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) { commands.Userid(target, cmdParams[1], nb) return } - case "weather": if msgLen == 1 { nb.Send(target, "Usage: ()weather [location]")