[tell] Fix name collision

master
sfan5 2016-03-18 22:46:57 +01:00
parent 831e7192e6
commit 0405c88e18
1 changed files with 3 additions and 2 deletions

View File

@ -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