You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I was going to get mentions list of a sent message with Message.mentions property,but an error has occurred.
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\site-packages\revolt\ext\commands\command.py", line 97, in invoke
return await self.callback(self.cog or context.client, context, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "(edited)\revolt_bug.py", line 15, in get_mentions
await ctx.send(repr(ctx.message.mentions))
^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\site-packages\revolt\message.py", line 152, in mentions
self.mentions.append(self.server.get_member(mention))
^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\site-packages\revolt\message.py", line 152, in mentions
self.mentions.append(self.server.get_member(mention))
^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\site-packages\revolt\message.py", line 152, in mentions
self.mentions.append(self.server.get_member(mention))
^^^^^^^^^^^^^
[Previous line repeated 985 more times]
RecursionError: maximum recursion depth exceeded
Describe the bug
I was going to get mentions list of a sent message with
Message.mentions
property,but an error has occurred.To Reproduce
A small code snippet showing the error
Expected behavior
Return a list of
Member
objects which the messge is mentioned.Library version
The text was updated successfully, but these errors were encountered: