discord.py-self
discord.py-self copied to clipboard
Interaction Error
Summary
When click interaction, error happens
Reproduction Steps
Try to click an interaction
Code
Ballsdex-AutoCatcher | 2024-10-12 06:06:16 WARNING selfcord.state INTERACTION_SUCCESS referencing an unknown interaction ID: 1294541632666079252. Discarding.
Ballsdex-AutoCatcher | 2024-10-12 06:06:28 ERROR selfcord.client Ignoring exception in on_message
Ballsdex-AutoCatcher | Traceback (most recent call last):
Ballsdex-AutoCatcher | File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
Ballsdex-AutoCatcher | return fut.result()
Ballsdex-AutoCatcher | ^^^^^^^^^^^^
Ballsdex-AutoCatcher | asyncio.exceptions.CancelledError
Ballsdex-AutoCatcher |
Ballsdex-AutoCatcher | The above exception was the direct cause of the following exception:
Ballsdex-AutoCatcher |
Ballsdex-AutoCatcher | Traceback (most recent call last):
Ballsdex-AutoCatcher | File "/usr/local/lib/python3.11/site-packages/selfcord/interactions.py", line 210, in _wrapped_interaction
Ballsdex-AutoCatcher | i = await state.client.wait_for(
Ballsdex-AutoCatcher | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ballsdex-AutoCatcher | File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
Ballsdex-AutoCatcher | raise exceptions.TimeoutError() from exc
Ballsdex-AutoCatcher | TimeoutError
Ballsdex-AutoCatcher |
Ballsdex-AutoCatcher | The above exception was the direct cause of the following exception:
Ballsdex-AutoCatcher |
Ballsdex-AutoCatcher | Traceback (most recent call last):
Ballsdex-AutoCatcher | File "/usr/local/lib/python3.11/site-packages/selfcord/client.py", line 637, in _run_event
Ballsdex-AutoCatcher | await coro(*args, **kwargs)
Ballsdex-AutoCatcher | File "/app/extensions/events/on_message.py", line 39, in on_message
Ballsdex-AutoCatcher | button = await firstButton.click()
Ballsdex-AutoCatcher | ^^^^^^^^^^^^^^^^^^^^^^^^^
Ballsdex-AutoCatcher | File "/usr/local/lib/python3.11/site-packages/selfcord/components.py", line 243, in click
Ballsdex-AutoCatcher | return await _wrapped_interaction(
Ballsdex-AutoCatcher | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ballsdex-AutoCatcher | File "/usr/local/lib/python3.11/site-packages/selfcord/interactions.py", line 216, in _wrapped_interaction
Ballsdex-AutoCatcher | raise InvalidData('Did not receive a response from Discord') from exc
Ballsdex-AutoCatcher | selfcord.errors.InvalidData: Did not receive a response from Discord
Expected Results
Clicks the interaction
Actual Results
Errors out and does nothing
System Information
- Python v3.12.1-final
- discord.py-self v2.0.0-final
- aiohttp v3.10.8
- system info: Windows 11 10.0.22631
Checklist
- [X] I have confirmed I am using unmodified discord.py-self and not the upstream discord.py.
- [X] I have searched the open issues for duplicates.
- [X] I have shared the entire traceback.
- [X] I am using a user token (and it isn't visible in the code).
Additional Information
No response