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

Enhance Embed Functionality: Prevent WebSocket Disconnection on Poll Results #1264

Open
fantasy0107 opened this issue Nov 25, 2024 · 0 comments
Labels

Comments

@fantasy0107
Copy link

Environment
PHP Version: 8.2.24
DiscordPHP Version: v10.0.0

Describe the bug
When a connection is successful, initiating a poll in a direct message causes the connection to disconnect when the results are returned.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to the Discord bot
  2. Initiate a poll in a private message
  3. Wait for the results to return

Additional context
Please modify the getEmbedTypes method in Discord\Parts\Embed\Embed to also return poll_result

截圖 2024-11-25 下午3 26 58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant