mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add farming command
This commit is contained in:
parent
eb674712e0
commit
f56ab3c396
8
pkg/commands/farm.go
Normal file
8
pkg/commands/farm.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package commands
|
||||
|
||||
import "github.com/lyx0/nourybot/cmd/bot"
|
||||
|
||||
func Farm(target string, nb *bot.Bot) {
|
||||
nb.Send(target, "Trees: https://oldschool.runescape.wiki/w/Crop_running#Example_tree_run_sequence")
|
||||
nb.Send(target, "Herbs: https://oldschool.runescape.wiki/w/Crop_running#Example_allotment,_flower_and_herb_run_sequence")
|
||||
}
|
|
@ -144,6 +144,14 @@ 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 "ffz":
|
||||
if msgLen == 1 {
|
||||
nb.Send(target, "Usage: ()ffz [emote]")
|
||||
|
|
Loading…
Reference in a new issue