diff --git a/bot/handlers/config/config_command.py b/bot/handlers/config/config_command.py index f2aa0fc..1dadd80 100644 --- a/bot/handlers/config/config_command.py +++ b/bot/handlers/config/config_command.py @@ -6,6 +6,6 @@ from bot.keyboards.config import get_config_keyboard @wrap_exception() -@throttle(cooldown=60*60, admin_ids=db[DBTables.config].get('admins'), by_id=False) +@throttle(cooldown=20, admin_ids=db[DBTables.config].get('admins'), by_id=False) async def config_command(message: types.Message): await message.reply("⚙️ Configuration:", reply_markup=get_config_keyboard(message.from_id))