Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interaction Error #745

Open
4 tasks done
Saberton1 opened this issue Oct 12, 2024 · 0 comments
Open
4 tasks done

Interaction Error #745

Saberton1 opened this issue Oct 12, 2024 · 0 comments
Labels
unconfirmed bug Unconfirmed bug

Comments

@Saberton1
Copy link

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

  • I have confirmed I am using unmodified discord.py-self and not the upstream discord.py.
  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

No response

@Saberton1 Saberton1 added the unconfirmed bug Unconfirmed bug label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unconfirmed bug Unconfirmed bug
Projects
None yet
Development

No branches or pull requests

2 participants
@Saberton1 and others