瀏覽代碼

Capitalise replies in !quit

tags/v0.1^2
Justin Yulli Kim 12 年之前
父節點
當前提交
c532384026
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      earwigbot/commands/quit.py

+ 2
- 2
earwigbot/commands/quit.py 查看文件

@@ -30,7 +30,7 @@ class Quit(Command):

def process(self, data):
if data.host not in self.config.irc["permissions"]["owners"]:
self.reply(data, "you must be a bot owner to use this command.")
self.reply(data, "You must be a bot owner to use this command.")
return
if data.command == "quit":
self.do_quit(data)
@@ -45,7 +45,7 @@ class Quit(Command):
reason = " ".join(args)
else:
if not args or args[0].lower() != data.my_nick:
self.reply(data, "to confirm this action, the first argument must be my name.")
self.reply(data, "To confirm this action, the first argument must be my name.")
return
reason = " ".join(args[1:])



Loading…
取消
儲存