瀏覽代碼

Merge ad1ff720b4 into 6be8fb48dd

pull/29/merge
GitHub Merge Button 12 年之前
父節點
當前提交
8cd57824af
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      earwigbot/commands/trout.py

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

@@ -38,6 +38,8 @@ class Trout(Command):
def process(self, data):
animal = data.command
target = " ".join(data.args) or data.nick
target = "himself" if target == "yourself" else target

normal = normalize("NFKD", target.decode("utf8")).lower()
if normal in self.exceptions:
self.reply(data, self.exceptions[normal])


Loading…
取消
儲存