Closed RheingoldRiver closed 1 year ago
Seems like a duplicate of #5905, just with a different endpoint. Closing this in favor of that issue.
Exception in command 'id'
Traceback (most recent call last):
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discord/ext/commands/core.py", line 190, in wrapped
ret = await coro(*args, **kwargs)
File "/home/bot/.local/share/Red-DiscordBot/data/tsubaki_prod/cogs/CogManager/cogs/padinfo/padinfo.py", line 219, in _id
await self._do_id(ctx, query)
File "/home/bot/.local/share/Red-DiscordBot/data/tsubaki_prod/cogs/CogManager/cogs/padinfo/padinfo.py", line 275, in _do_id
await menu.create(ctx, state)
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discordmenu/embed/menu.py", line 38, in create
return await send_embed(ctx, embed_wrapper, message=message)
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discordmenu/discord_client.py", line 54, in send_embed
await asyncio.gather(*add)
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discord/message.py", line 1061, in add_reaction
await self._state.http.add_reaction(self.channel.id, self.id, emoji)
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discord/http.py", line 759, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 429 Too Many Requests (error code: 0): You are being rate limited.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 1347, in invoke
await ctx.command.invoke(ctx)
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discord/ext/commands/core.py", line 986, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "/home/bot/tsubaki/prod/lib/python3.8/site-packages/discord/ext/commands/core.py", line 199, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: 429 Too Many Requests (error code: 0): You are being rate limited.
What Red version are you using?
3.5-dev starting with commit f025283
What were you trying to do?
Add emojis to a menu, like this, in a specified order, with more emojis than the rate-limit
What did you expect to happen?
What actually happened?
Through commit d7d6ab4, this was handled fine. Starting with commit f025283, however:
How can we reproduce this error?
dbcog
andpadinfo
, and it should work with just that, the command is[p]id
.Anything else?
We updated our bot a week ago, but the issue started today, so I'm not sure what's up with that. However, rolling back the Red version fixed the issue so there's definitely something going wrong that started with that commit. And it wasn't an ephemeral thing for just a few minutes either, it was broken for about 5 hours before we thought to try a rollback.