diff --git a/pkg/commands/commandslist.go b/pkg/commands/commandslist.go new file mode 100644 index 0000000..5ea3d08 --- /dev/null +++ b/pkg/commands/commandslist.go @@ -0,0 +1,9 @@ +package commands + +import "github.com/lyx0/nourybot/cmd/bot" + +func CommandsList(target string, nb *bot.Bot) { + reply := "https://gist.github.com/lyx0/6e326451ed9602157fcf6b5e40fb1dfd" + + nb.Send(reply, target) +} diff --git a/pkg/commands/help.go b/pkg/commands/help.go new file mode 100644 index 0000000..2f0babc --- /dev/null +++ b/pkg/commands/help.go @@ -0,0 +1,9 @@ +package commands + +import "github.com/lyx0/nourybot/cmd/bot" + +func Help(target string, nb *bot.Bot) { + reply := "Bot made in Go by @Nouryt, Prefix: (), Commands: https://gist.github.com/lyx0/6e326451ed9602157fcf6b5e40fb1dfd" + + nb.Send(target, reply) +} diff --git a/pkg/handlers/command.go b/pkg/handlers/command.go index 1f28e23..39a7cfc 100644 --- a/pkg/handlers/command.go +++ b/pkg/handlers/command.go @@ -53,6 +53,7 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) { } commands.Bttv(target, cmdParams[1], nb) return + case "bttvemotes": commands.BttvEmotes(target, nb) return @@ -177,6 +178,9 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) { return } + case "help": + commands.Help(target, nb) + case "num": if msgLen == 1 { commands.RandomNumber(target, nb)