Переглянути джерело

Update 'src/plugins/the_house.py'

appreciate
iramo94 6 роки тому
батько
коміт
e5c9ed8dbc
1 змінених файлів з 3 додано та 6 видалено
  1. 3 6
      src/plugins/the_house.py

+ 3 - 6
src/plugins/the_house.py

@@ -14,12 +14,9 @@ housebot = """\
 ▔▏┗┻┛┃┃┗┻┛▕▔
 """
 
-@as_plugin("yo")
+@as_plugin("appreciate")
 def the_house(db, msg):
-    for x, y in zip(msg.args(), ("can", "i", "have", "the", "house", "with")):
-        if x.lower() != y:
-            return RollbotResponse(msg, failure=RollbotFailure.INVALID_ARGUMENTS)
-	
-	thehouse = housetop + ' '.join(list(msg.args(normalize=False))[6:]) + housebot
+    
+	thehouse = housetop + ' '.join(list(msg.args(normalize=False))) + housebot
 
     return RollbotResponse(msg, txt=thehouse)