Fixed a few nasty issues

This commit is contained in:
Profitroll 2023-08-23 00:19:27 +02:00
parent 4a2e15c6e7
commit 59bfc4c1ca
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
4 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,10 @@
"scopes": [
{
"name": "BotCommandScopeDefault"
},
{
"name": "BotCommandScopeChat",
"chat_id": "owner"
}
]
},

View File

@ -17,7 +17,7 @@
"start": "Welcome! I'm your bot!",
"locale_choice": "Alright. Please choose the language using keyboard below."
},
"callback": {
"callbacks": {
"locale_set": "Your language now is: {locale}"
}
}

View File

@ -16,7 +16,7 @@
"start": "Привіт! Я твій бот!",
"locale_choice": "Гаразд. Будь ласка, оберіть мову за допомогою клавіатури нижче."
},
"callback": {
"callbacks": {
"locale_set": "Встановлено мову: {locale}"
}
}

View File

@ -5,8 +5,8 @@ from os import getpid
from pathlib import Path
from libbot import sync
from libbot.pyrogram.classes import PyroClient
from classes.pyroclient import PyroClient
from modules.migrator import migrate_database
from modules.scheduler import scheduler