mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add say command
This commit is contained in:
parent
9820b957ac
commit
003addc2d8
1 changed files with 5 additions and 0 deletions
|
@ -380,6 +380,11 @@ func (app *application) handleCommand(message twitch.PrivateMessage) {
|
|||
// 1000 User Level
|
||||
// Admin
|
||||
//------------------------------------
|
||||
case "say":
|
||||
if userLevel >= 1000 {
|
||||
reply = message.Message[6:len(message.Message)]
|
||||
}
|
||||
|
||||
case "join":
|
||||
if userLevel >= 1000 {
|
||||
go app.AddChannel(cmdParams[1], message)
|
||||
|
|
Loading…
Reference in a new issue