Ver Fonte

Update 'src/plugins/the_house.py'

P Y T H O N I C
iramo94 há 6 anos atrás
pai
commit
99176d386f
1 ficheiros alterados com 1 adições e 1 exclusões
  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 + msg.args().last() + housebot
+	thehouse = housetop + msg.args()[-1] + housebot
 
     return RollbotResponse(msg, txt=thehouse)