|
@@ -38,6 +38,8 @@ class Trout(Command): |
|
|
def process(self, data): |
|
|
def process(self, data): |
|
|
animal = data.command |
|
|
animal = data.command |
|
|
target = " ".join(data.args) or data.nick |
|
|
target = " ".join(data.args) or data.nick |
|
|
|
|
|
target = "himself" if target == "yourself" else target |
|
|
|
|
|
|
|
|
normal = normalize("NFKD", target.decode("utf8")).lower() |
|
|
normal = normalize("NFKD", target.decode("utf8")).lower() |
|
|
if normal in self.exceptions: |
|
|
if normal in self.exceptions: |
|
|
self.reply(data, self.exceptions[normal]) |
|
|
self.reply(data, self.exceptions[normal]) |
|
|