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

✨ Add support for polls #108

Merged
merged 5 commits into from
Oct 3, 2024
Merged

✨ Add support for polls #108

merged 5 commits into from
Oct 3, 2024

Conversation

Log1x
Copy link
Member

@Log1x Log1x commented Jul 18, 2024

In preparation for discord-php/DiscordPHP#1226

Example usage:

$this
    ->message()
    ->poll('What is your favorite color?', [
        'πŸ”΄' => 'Red',
        '🟒' => 'Green',
        'πŸ”΅' => 'Blue'
    ], duration: 24, multiselect: true)
    ->reply($message);

@Log1x Log1x marked this pull request as ready for review October 3, 2024 01:29
@Log1x Log1x merged commit f3cd47c into main Oct 3, 2024
1 check passed
@Log1x Log1x deleted the feat/poll-support branch October 3, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant