Selaa lähdekoodia

Update 'src/plugins/the_house.py'

P Y T H O N I C
iramo94 6 vuotta sitten
vanhempi
commit
99176d386f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)