From e03ee49a2bddc32219412140bacc340187190b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=98=EB=88=84?= Date: Wed, 22 Mar 2023 13:50:54 +0000 Subject: [PATCH] fix: rate limit skipping --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 4b6ef57..b9dd389 100644 --- a/bot.py +++ b/bot.py @@ -60,9 +60,9 @@ async def _addConnection(inter: disnake.ApplicationCommandInteraction): result = await client.register_role_metadata(records=tuple(rec), force=True) except Exception as e: await inter.followup.send(e) - await asyncio.sleep(5) + await asyncio.sleep(10) else: await inter.followup.send(result) - await asyncio.sleep(5) + await asyncio.sleep(10) bot.run(os.getenv("BOT_TOKEN")) \ No newline at end of file