mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add some personal commands
This commit is contained in:
parent
60068b7175
commit
a36b3da1a9
9
pkg/commands/justinfan.go
Normal file
9
pkg/commands/justinfan.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package commands
|
||||
|
||||
import "github.com/lyx0/nourybot/cmd/bot"
|
||||
|
||||
func Justinfan(target string, nb *bot.Bot) {
|
||||
reply := "64537"
|
||||
|
||||
nb.Send(target, reply)
|
||||
}
|
12
pkg/commands/rave.go
Normal file
12
pkg/commands/rave.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package commands
|
||||
|
||||
import "github.com/lyx0/nourybot/cmd/bot"
|
||||
|
||||
func Rave(target string, nb *bot.Bot) {
|
||||
reply := `https://www.youtube.com/playlist?list=PLY9LTYa8xnQKrug3VvgkPWqmpmXSKAYPe`
|
||||
reply2 := `https://www.youtube.com/playlist?list=PLWwCeXamjNuZ2ZNJiNwvdmVT9TtULsHc6`
|
||||
|
||||
nb.Send(target, reply)
|
||||
nb.Send(target, reply2)
|
||||
|
||||
}
|
|
@ -144,22 +144,6 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) {
|
|||
commands.EmoteLookup(target, cmdParams[1], nb)
|
||||
return
|
||||
|
||||
case "farm":
|
||||
if target != "nouryqt" {
|
||||
return
|
||||
} else {
|
||||
commands.Farm(target, nb)
|
||||
return
|
||||
}
|
||||
|
||||
case "farming":
|
||||
if target != "nouryqt" {
|
||||
return
|
||||
} else {
|
||||
commands.Farm(target, nb)
|
||||
return
|
||||
}
|
||||
|
||||
case "ffz":
|
||||
if msgLen == 1 {
|
||||
nb.Send(target, "Usage: ()ffz [emote]")
|
||||
|
@ -407,22 +391,6 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) {
|
|||
return
|
||||
}
|
||||
|
||||
case "streamlink":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Streamlink(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "streamlinkconfig":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Streamlink(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "thumb":
|
||||
if msgLen == 1 {
|
||||
nb.Send(target, "Usage: ()thumb [channel]")
|
||||
|
@ -503,6 +471,32 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) {
|
|||
commands.Xkcd(target, nb)
|
||||
return
|
||||
|
||||
// Basically just personal commands for me to
|
||||
// remember from here on.
|
||||
case "farm":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Farm(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "justinfan":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Justinfan(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "farming":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Farm(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "rave":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Rave(target, nb)
|
||||
|
@ -511,6 +505,22 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) {
|
|||
return
|
||||
}
|
||||
|
||||
case "streamlink":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Streamlink(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "streamlinkconfig":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Streamlink(target, nb)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
case "xset":
|
||||
if target == "nouryqt" || target == "nourybot" {
|
||||
commands.Xset(target, nb)
|
||||
|
|
Loading…
Reference in a new issue