From 0405c88e186a48c7748920c7d0b1d4178a032f2a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 18 Mar 2016 22:46:57 +0100 Subject: [PATCH] [tell] Fix name collision --- tell.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tell.py b/tell.py index 2da1174..3a9f8c2 100755 --- a/tell.py +++ b/tell.py @@ -51,7 +51,8 @@ _export = { 'tell': tell_api, } -def tell(phenny, input): +# Can't be named "tell" because that would interfere with the tell api +def tell_cmd(phenny, input): arg = input.group(2) if not arg: return phenny.reply("Need a nickname...") @@ -76,7 +77,7 @@ def tell(phenny, input): phenny.reply(response) -tell.commands = ["tell"] +tell_cmd.commands = ["tell"] def checktell(phenny, input): write = False