mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add ping command
This commit is contained in:
parent
3f5e24f8a0
commit
1e4e56ddf6
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ import (
|
|||
|
||||
"github.com/gempir/go-twitch-irc/v2"
|
||||
"github.com/lyx0/nourybot/cmd/bot"
|
||||
"github.com/lyx0/nourybot/pkg/commands"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -35,6 +36,8 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) {
|
|||
nb.Send(message.Channel, cmdParams[1])
|
||||
return
|
||||
}
|
||||
case "ping":
|
||||
commands.Ping(message.Channel, nb)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue