I should probably go to bed instead of doing coding...
parent
d6b1604a1b
commit
2f7c24a0ca
8
tell.py
8
tell.py
|
@ -21,14 +21,14 @@ def tell(phenny, input):
|
||||||
return phenny.reply("Need a nickname...")
|
return phenny.reply("Need a nickname...")
|
||||||
if not ' ' in arg:
|
if not ' ' in arg:
|
||||||
return phenny.reply("...and text")
|
return phenny.reply("...and text")
|
||||||
if target.lower() == teller.lower():
|
|
||||||
return phenny.say("You can tell that to yourself")
|
|
||||||
if target.lower() == phenny.nick.lower():
|
|
||||||
return phenny.say("I'm not dumb, you know?")
|
|
||||||
teller = input.nick
|
teller = input.nick
|
||||||
target = arg.split(" ")[0]
|
target = arg.split(" ")[0]
|
||||||
text = " ".join(arg.split(" ")[1:])
|
text = " ".join(arg.split(" ")[1:])
|
||||||
d = (teller, target, text)
|
d = (teller, target, text)
|
||||||
|
if target.lower() == teller.lower():
|
||||||
|
return phenny.say("You can tell that to yourself")
|
||||||
|
if target.lower() == phenny.nick.lower():
|
||||||
|
return phenny.say("I'm not dumb, you know?")
|
||||||
|
|
||||||
tell_list.append(d)
|
tell_list.append(d)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue