瀏覽代碼

Capitalise replies in !help

tags/v0.1^2
Justin Yulli Kim 12 年之前
父節點
當前提交
da3efd2658
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      earwigbot/commands/help.py

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

@@ -60,11 +60,11 @@ class Help(Command):
if command.__doc__:
doc = command.__doc__.replace("\n", "")
doc = re.sub("\s\s+", " ", doc)
msg = 'help for command \x0303{0}\x0F: "{1}"'
msg = 'Help for command \x0303{0}\x0F: "{1}"'
self.reply(data, msg.format(target, doc))
return

msg = "sorry, no help for \x0303{0}\x0F.".format(target)
msg = "Sorry, no help for \x0303{0}\x0F.".format(target)
self.reply(data, msg)

def do_hello(self, data):


Loading…
取消
儲存