Expand description
Poll functionality for the Streamocracy bot
Modules§
- votekick
- Votekick poll implementation
Structs§
- Poll
Info - Poll metadata stored while poll is active.
Statics§
Traits§
- Poll
- Trait for reaction-based polls.
Functions§
- complete_
poll 🔒 - Complete a poll by counting votes and calling on_complete.
- get_
reaction_ 🔒count - Count users who reacted with a specific emoji, excluding the bot.
- schedule_
poll_ completion - Schedule a poll to complete after its duration.
- send_
temporary_ message - Send a message that auto-deletes after a specified number of seconds.
Type Aliases§
- Active
Polls 🔒 - Thread-safe storage for active polls