example with elif added. ToDo: Own function just for user datas.
This commit is contained in:
parent
f361c39b53
commit
2ca58e1fca
@ -44,6 +44,8 @@ def page(receiver, text, user):
|
|||||||
|
|
||||||
# if(receiver=="someone"):
|
# if(receiver=="someone"):
|
||||||
# number="1234567"
|
# number="1234567"
|
||||||
|
# elif(receiver=="someoneelse"):
|
||||||
|
# number="7654321"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return "The username you tried to page has no number saved."
|
return "The username you tried to page has no number saved."
|
||||||
|
Loading…
Reference in New Issue
Block a user