Parcourir la source

Update 'src/plugins/the_house.py'

Kirk is giving me advice piecemeal
iramo94 il y a 6 ans
Parent
commit
0dca71aa57
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/plugins/the_house.py

+ 1 - 1
src/plugins/the_house.py

@@ -20,6 +20,6 @@ def the_house(db, msg):
         if x.lower() != y:
             return RollbotResponse(msg, failure=RollbotFailure.INVALID_ARGUMENTS)
 	
-	thehouse = housetop + list(msg.args())[6:] + housebot
+	thehouse = housetop + ' '.join(list(msg.raw_args())[6:]) + housebot
 
     return RollbotResponse(msg, txt=thehouse)