Version 1.2
17 downloads
Rust Maps Poll is a dynamic Discord bot designed for Rust server administrators to effortlessly create interactive map polls for their community. It fetches live Rust map data and provides an engaging way for players to vote on maps for the next server wipe or event.
Key Features
Fetch Rust Maps: Automatically retrieves map data from the Rust Maps API, ensuring accurate and up-to-date options.
Poll Creation: Create custom map polls with up to 4 maps, allowing users to vote by reacting with emoji buttons.
Automatic Poll Duration: Set poll durations ranging from minutes to days, with the bot handling the end-of-poll logic.
Automated Results: Once the poll ends, the bot tallies the votes and displays the winning map along with the full vote breakdown.
🛠 Commands
/poll
Creates a new map poll with up to 4 maps from Rust Maps.
Usage: /poll ids:<comma-separated map IDs> duration:<poll duration> role:<optional role ping>
Example: /poll ids:abc123,def456,ghi789 duration:30m role:@Everyone
Poll End: The poll automatically ends based on the duration set, and a result summary is posted.
Real-Time Updates: Users cast votes by reacting with emojis, which are counted and displayed in real-time.
/endvoting
Manually end a poll before the set duration.
Usage: /endvoting messageId:<message ID of the poll>
Example: /endvoting messageId:123456789012345678
How It Works
Create Poll: Use the /poll command to generate a map poll. The bot fetches map data, prepares the images, and posts the poll in the specified channel.
Vote Interaction: Players vote by reacting to the poll with one of the designated map emojis. The bot tracks and counts all reactions.
Poll Ending: When the poll reaches its set duration, or if ended early by an admin, the bot tallies the votes and announces the winning map along with the vote distribution.
Result Posting: The results are posted in the same channel where the poll was created, ensuring transparency for all members.