This commit is contained in:
Davte 2020-06-20 15:43:22 +02:00
parent fafc3de090
commit 293a831958
Signed by: Davte
GPG Key ID: D848081D6F892DA9
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it" __email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0" __license__ = "GNU General Public License v3.0"
__version__ = "2.6.3" __version__ = "2.6.4"
__maintainer__ = "Davide Testa" __maintainer__ = "Davide Testa"
__contact__ = "t.me/davte" __contact__ = "t.me/davte"

View File

@ -1840,7 +1840,7 @@ def init(telegram_bot: Bot,
) )
if 'talking_sessions' not in db.tables: if 'talking_sessions' not in db.tables:
table = db.create_table( table = db.create_table(
table_name='users' table_name='talking_sessions'
) )
table.create_column( table.create_column(
'user', 'user',

View File

@ -75,12 +75,12 @@ default_admin_messages = {
}, },
'no_log': { 'no_log': {
'en': "Sorry but no errors log file is set.\n" 'en': "Sorry but no errors log file is set.\n"
"To set it, use `bot.set_errors_file_name` instance method" "To set it, use `bot.set_errors_file_name` instance method "
"or `Bot.set_class_errors_file_name` class method.", "or `Bot.set_class_errors_file_name` class method.",
'it': "Spiacente ma il file di log degli errori non è stato " 'it': "Spiacente ma il file di log degli errori non è stato "
"impostato.\n" "impostato.\n"
"Per impostarlo, usa il metodo d'istanza " "Per impostarlo, usa il metodo d'istanza "
"`bot.set_errors_file_name` o il metodo di classe" "`bot.set_errors_file_name` o il metodo di classe "
"`Bot.set_class_errors_file_name`." "`Bot.set_class_errors_file_name`."
}, },
'empty_log': { 'empty_log': {