Queer European MD passionate about IT
Procházet zdrojové kódy

Better interaction in manual mode

Davte před 6 roky
rodič
revize
3e9bea1a95
2 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 1 1
      davtelepot/__init__.py
  2. 4 1
      davtelepot/custombot.py

+ 1 - 1
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"
 

+ 4 - 1
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
                         )