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