Kirk Trombley 6 years ago
parent
commit
be3535c616
3 changed files with 27 additions and 1 deletions
  1. 0 1
      config/config.toml
  2. 1 0
      src/plugins/__init__.py
  3. 26 0
      src/plugins/finchat.py

+ 0 - 1
config/config.toml

@@ -25,7 +25,6 @@ bump = "Bumping the chat!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
 vore = "What? No"
 break = "I'm too robust for that!"
 yiff = "Sorry - I don't think I understand the command '!yiff'... I'll talk to Sam, since he loves this command so much, and get back to you!"
-f = "FFFFFFFFFFFFFFFFFFFFF\nFFFFFFFFFFFFFFFFFFFFF\nFFFFFFFFFFFFFFFFFFFFF\nFFFFFFF\nFFFFFFF\nFFFFFFF\nFFFFFFFFFFFFFF\nFFFFFFFFFFFFFF\nFFFFFFFFFFFFFF\nFFFFFFF\nFFFFFFF\nFFFFFFF\nFFFFFFF\nFFFFFFF"
 rampart = "Hey guys can we please keep the topic to Rampart?"
 
 [riddle]

+ 1 - 0
src/plugins/__init__.py

@@ -9,3 +9,4 @@ import plugins.teamspeak
 import plugins.the_house
 import plugins.meme
 import plugins.hangguy
+import plugins.finchat

+ 26 - 0
src/plugins/finchat.py

@@ -0,0 +1,26 @@
+from command_system import as_plugin, RollbotResponse
+
+
+Fs = """
+FFFFFFFFFFFFFFFFFFFFF
+FFFFFFFFFFFFFFFFFFFFF
+FFFFFFFFFFFFFFFFFFFFF
+FFFFFFF
+FFFFFFF
+FFFFFFF
+FFFFFFFFFFFFFF
+FFFFFFFFFFFFFF
+FFFFFFFFFFFFFF
+FFFFFFF
+FFFFFFF
+FFFFFFF
+FFFFFFF
+FFFFFFF
+""".strip()
+
+
+@as_plugin("f")
+def finchat(db, msg):
+    if msg.message_txt[1:].strip().startswith("f"):
+        return RollbotResponse(msg, txt="frick")
+    return RollbotResponse(msg, txt=Fs)