Fixed first database creation, added default values for some get's
This commit is contained in:
1 parent
5f079c5246
commit
c332dc4d21
13 files changed
+33
-32
No files matched your search
@@ -15,7 +15,7 @@ async def on_global_settings_kb_open(call: types.CallbackQuery):
|
||||
|
||||
|
||||
@wrap_exception()
|
||||
@throttle(cooldown=60*60, admin_ids=db[DBTables.config].get('admins'), by_id=False)
|
||||
@throttle(cooldown=60*60, admin_ids=db[DBTables.config].get('admins', []), by_id=False)
|
||||
async def on_set_model(call: types.CallbackQuery):
|
||||
from bot.keyboards.set_model import get_set_model_keyboard
|
||||
from bot.modules.api.models import get_models
|
||||
|
||||
Reference in new issue
Block a user