We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6bb75 commit ca30173Copy full SHA for ca30173
discord_slash/utils/manage_commands.py
@@ -87,7 +87,7 @@ async def get_all_commands(bot_id,
87
if resp.status == 429:
88
_json = await resp.json()
89
await asyncio.sleep(_json["retry_after"])
90
- return await remove_slash_command(bot_id, bot_token, guild_id)
+ return await get_all_commands(bot_id, bot_token, guild_id)
91
if not 200 <= resp.status < 300:
92
raise RequestFailure(resp.status, await resp.text())
93
return await resp.json()
0 commit comments