mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
xd
This commit is contained in:
parent
4034999fac
commit
1ebe3f860a
2 changed files with 7 additions and 1 deletions
|
@ -1 +1,7 @@
|
||||||
package commands
|
package commands
|
||||||
|
|
||||||
|
import "github.com/gempir/go-twitch-irc/v2"
|
||||||
|
|
||||||
|
func Xd(channel string, client *twitch.Client) {
|
||||||
|
client.Say(channel, "xd")
|
||||||
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
case "xd":
|
case "xd":
|
||||||
twitchClient.Say(message.Channel, "xd")
|
commands.Xd(message.Channel, twitchClient)
|
||||||
return
|
return
|
||||||
case "echo":
|
case "echo":
|
||||||
commands.Echo(message.Channel, message.Message[7:len(message.Message)], twitchClient)
|
commands.Echo(message.Channel, message.Message[7:len(message.Message)], twitchClient)
|
||||||
|
|
Loading…
Reference in a new issue