From 3e9bea1a95bd5fade013242dc44cb52964f711e5 Mon Sep 17 00:00:00 2001 From: Davte Date: Sat, 24 Nov 2018 15:45:52 +0100 Subject: [PATCH] Better interaction in manual mode --- davtelepot/__init__.py | 2 +- davtelepot/custombot.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 410ab76..08ff789 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -7,7 +7,7 @@ __author__ = "Davide Testa" __email__ = "davte@libero.it" __credits__ = "Marco Origlia" __license__ = "GNU General Public License v3.0" -__version__ = "1.4.4" +__version__ = "1.4.5" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/custombot.py b/davtelepot/custombot.py index 2604afb..2163fc8 100644 --- a/davtelepot/custombot.py +++ b/davtelepot/custombot.py @@ -1891,7 +1891,8 @@ class Bot(telepot.aio.Bot, Gettable): if user_input == ' choose_addressee': try: user_input = input( - "Choose an addressee." + "Choose an addressee.\n" + "Press enter to change bot.\n" "\n\t\t" ) if len(user_input) == 0: @@ -2006,6 +2007,8 @@ class Bot(telepot.aio.Bot, Gettable): text = input( "What would you like to send " "{u[name]} ({u[telegram_id]})?\n" + "Leave it blank if you want to select another " + "addressee.\n" "\t\t\t".format( u=selected_user )