8000 Enhance Embed Functionality: Prevent WebSocket Disconnection on Poll Results · Issue #1264 · discord-php/DiscordPHP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Enhance Embed Functionality: Prevent WebSocket Disconnection on Poll Results #1264
Open
@fantasy0107

Description

@fantasy0107

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleInformation contained within may be old or outdated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0