浏览代码

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)