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
|
@ -380,6 +380,11 @@ func (app *application) handleCommand(message twitch.PrivateMessage) {
|
||||||
// 1000 User Level
|
// 1000 User Level
|
||||||
// Admin
|
// Admin
|
||||||
//------------------------------------
|
//------------------------------------
|
||||||
|
case "say":
|
||||||
|
if userLevel >= 1000 {
|
||||||
|
reply = message.Message[6:len(message.Message)]
|
||||||
|
}
|
||||||
|
|
||||||
case "join":
|
case "join":
|
||||||
if userLevel >= 1000 {
|
if userLevel >= 1000 {
|
||||||
go app.AddChannel(cmdParams[1], message)
|
go app.AddChannel(cmdParams[1], message)
|
||||||
|
|
Loading…
Reference in a new issue