Browse Source

new function to !stfu

ivan 6 years ago
parent
commit
ab73c08964
2 changed files with 20 additions and 3 deletions
  1. 2 2
      config/config.toml
  2. 18 1
      src/plugins/the_house.py

+ 2 - 2
config/config.toml

@@ -10,7 +10,7 @@ querying = [ "inspire", "shield", "scp", "riddle" ]
 seychelles = [ "seychelles" ]
 curse = [ "curse", "bless" ]
 the_guy = [ "the_guy" ]
-the_house = [ "the_house" ]
+the_house = [ "the_house", "shut_up" ]
 
 [aliases]
 speemteek = "speamteek"
@@ -36,4 +36,4 @@ 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\
 [teamspeak]
 host = "kirkleon.ddns.net"
 user = "serveradmin"
-scrolling = true
+scrolling = true

+ 18 - 1
src/plugins/the_house.py

@@ -9,6 +9,15 @@ housetop = """\
 ╱▔▔▔▔▔▔▔▔▔▔╲
 """
 
+stfutop = """\
+┏┓
+┃┃╱╲ Shut
+┃╱╱╲╲ The
+╱╱╭╮╲╲ Fuck
+▔▏┗┛▕▔  Up
+╱▔▔▔▔▔▔▔▔▔▔╲
+"""
+
 housebot = """
 ╱╱┏┳┓╭╮┏┳┓ ╲╲
 ▔▏┗┻┛┃┃┗┻┛▕▔
@@ -19,4 +28,12 @@ def the_house(db, msg):
     
     thehouse = housetop + ' '.join(list(msg.args(normalize=False))) + housebot
 
-    return RollbotResponse(msg, txt=thehouse)
+    return RollbotResponse(msg, txt=thehouse)
+
+@as_plugin("stfu")
+def shut_up(db, msg):
+
+    shutup = stfutop + ' '.join(list(msg.args(normalize=False))) + housebot
+
+    return RollbotResponse(msg, txt=shutup)
+