[tell] Fix name collision
parent
831e7192e6
commit
0405c88e18
5
tell.py
5
tell.py
|
@ -51,7 +51,8 @@ _export = {
|
||||||
'tell': tell_api,
|
'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)
|
arg = input.group(2)
|
||||||
if not arg:
|
if not arg:
|
||||||
return phenny.reply("Need a nickname...")
|
return phenny.reply("Need a nickname...")
|
||||||
|
@ -76,7 +77,7 @@ def tell(phenny, input):
|
||||||
|
|
||||||
phenny.reply(response)
|
phenny.reply(response)
|
||||||
|
|
||||||
tell.commands = ["tell"]
|
tell_cmd.commands = ["tell"]
|
||||||
|
|
||||||
def checktell(phenny, input):
|
def checktell(phenny, input):
|
||||||
write = False
|
write = False
|
||||||
|
|
Loading…
Reference in New Issue