From 6d93dd3633b8182e81c58d269dcc26c0ea31680f Mon Sep 17 00:00:00 2001 From: russelg Date: Tue, 14 Jun 2016 01:54:07 +0800 Subject: [PATCH] .BANCHO. Add 'tillerino' for /np during spectating and replays ("watching") --- constants/fokabotCommands.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/constants/fokabotCommands.py b/constants/fokabotCommands.py index 672a512..0c83965 100644 --- a/constants/fokabotCommands.py +++ b/constants/fokabotCommands.py @@ -378,7 +378,7 @@ def tillerinoNp(fro, chan, message): # Get URL from message if message[1] == "listening": beatmapURL = str(message[3][1:]) - elif message[1] == "playing": + elif message[1] == "playing" or message[1] == "watching": beatmapURL = str(message[2][1:]) else: return False @@ -627,6 +627,9 @@ commands = [ }, { "trigger": "\x01ACTION is playing", "callback": tillerinoNp + }, { + "trigger": "\x01ACTION is watching", + "callback": tillerinoNp }, { "trigger": "!with", "callback": tillerinoMods,