Better interaction in manual mode
This commit is contained in:
parent
12a5537291
commit
3e9bea1a95
@ -7,7 +7,7 @@ __author__ = "Davide Testa"
|
|||||||
__email__ = "davte@libero.it"
|
__email__ = "davte@libero.it"
|
||||||
__credits__ = "Marco Origlia"
|
__credits__ = "Marco Origlia"
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "1.4.4"
|
__version__ = "1.4.5"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -1891,7 +1891,8 @@ class Bot(telepot.aio.Bot, Gettable):
|
|||||||
if user_input == ' choose_addressee':
|
if user_input == ' choose_addressee':
|
||||||
try:
|
try:
|
||||||
user_input = input(
|
user_input = input(
|
||||||
"Choose an addressee."
|
"Choose an addressee.\n"
|
||||||
|
"Press enter to change bot.\n"
|
||||||
"\n\t\t"
|
"\n\t\t"
|
||||||
)
|
)
|
||||||
if len(user_input) == 0:
|
if len(user_input) == 0:
|
||||||
@ -2006,6 +2007,8 @@ class Bot(telepot.aio.Bot, Gettable):
|
|||||||
text = input(
|
text = input(
|
||||||
"What would you like to send "
|
"What would you like to send "
|
||||||
"{u[name]} ({u[telegram_id]})?\n"
|
"{u[name]} ({u[telegram_id]})?\n"
|
||||||
|
"Leave it blank if you want to select another "
|
||||||
|
"addressee.\n"
|
||||||
"\t\t\t".format(
|
"\t\t\t".format(
|
||||||
u=selected_user
|
u=selected_user
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user