Kirk Trombley 6 жил өмнө
parent
commit
9c6618a6f6

+ 1 - 0
config/config.toml

@@ -8,6 +8,7 @@ roll = [ "roll" ]
 querying = [ "inspire", "shield", "scp", "riddle" ]
 seychelles = [ "seychelles" ]
 curse = [ "curse", "bless" ]
+the_guy = [ "the_guy" ]
 
 [aliases]
 speemteek = "speamteek"

+ 19 - 0
src/plugins/the_guy.py

@@ -0,0 +1,19 @@
+from command_system import RollbotResponse, RollbotFailure, as_plugin
+
+
+THE_GUY = """\
+🖕     😎
+🐛💤👔🐛
+        ⛽  👢
+       ⚡8=👊=D💦
+   🎸     🌽
+👢           👢
+"""
+
+
+@as_plugin("hey")
+def the_guy(db, msg):
+    for x, y in zip(msg.args(), ("can", "i", "have", "the", "guy")):
+        if x.lower() != y:
+            return RollbotResponse(msg, failure=RollbotFailure.INVALID_ARGUMENTS)
+    return RollbotResponse(msg, txt=THE_GUY)