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
@@ -6,7 +6,7 @@ from bot.utils.errorable_command import wrap_exception
|
||||
|
||||
|
||||
@wrap_exception([IndexError])
|
||||
@throttle(cooldown=10, admin_ids=db[DBTables.config].get('admins'))
|
||||
@throttle(cooldown=10, admin_ids=db[DBTables.config].get('admins', []))
|
||||
async def imginfo(message: types.Message):
|
||||
try:
|
||||
if not hasattr(message.reply_to_message, 'photo'):
|
||||
|
||||
Reference in new issue
Block a user