浏览代码

spelling error

tBKwtWS 7 年之前
父节点
当前提交
48ec6d7ed1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      irc/bot.py

+ 1 - 1
irc/bot.py

@@ -123,7 +123,7 @@ class PyRot(irc.bot.SingleServerIRCBot):
         commands.statistics.do_command(self, connection, event)
         commands.games.do_command(self, connection, event)
         if not event.source == connection.get_nickname():
-            if event.arguemnts[0] == "Password authentication required for that command.":
+            if event.arguments[0] == "Password authentication required for that command.":
                 return
             Inform.owners(self, connection, "PM from " + red + red + event.source.nick + grey + ": " + reset + event.arguments[0] + ".")