Open
Description
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:
- Connect to the Discord bot
- Initiate a poll in a private message
- Wait for the results to return
Additional context
Please modify the getEmbedTypes method in Discord\Parts\Embed\Embed to also return poll_result