Przeglądaj źródła

Update 'src/plugins/the_house.py'

YO
iramo94 6 lat temu
rodzic
commit
272fe91a50
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/plugins/the_house.py

+ 2 - 2
src/plugins/the_house.py

@@ -14,12 +14,12 @@ housebot = """\
 ▔▏┗┻┛┃┃┗┻┛▕▔
 """
 
-@as_plugin("hey")
+@as_plugin("yo")
 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 + msg.args()[-1] + housebot
+	thehouse = housetop + list(msg.args())[6:] + housebot
 
     return RollbotResponse(msg, txt=thehouse)