소스 검색

Update 'src/plugins/the_house.py'

P Y T H O N I C
iramo94 6 년 전
부모
커밋
99176d386f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)