cleanup a bit

This commit is contained in:
lyx0 2021-10-20 00:02:53 +02:00
parent 1b7828032b
commit 7ededaae9f
2 changed files with 3 additions and 4 deletions

View file

@ -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 {

View file

@ -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]")