mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add preview alias for thumbnail
This commit is contained in:
parent
a8abdbdf9a
commit
bdd3018a3e
1 changed files with 8 additions and 0 deletions
|
@ -154,6 +154,14 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u
|
|||
case "pingme":
|
||||
commands.Pingme(message.Channel, message.User.DisplayName, twitchClient)
|
||||
return
|
||||
case "preview":
|
||||
if msgLen == 1 {
|
||||
twitchClient.Say(message.Channel, "Usage: ()preview [channel]")
|
||||
return
|
||||
} else {
|
||||
commands.Thumbnail(message.Channel, cmdParams[1], twitchClient)
|
||||
return
|
||||
}
|
||||
case "profilepicture":
|
||||
if msgLen == 1 {
|
||||
twitchClient.Say(message.Channel, "Usage: ()profilepicture [user]")
|
||||
|
|
Loading…
Reference in a new issue