DerDomee / discordbot-alexxoffi

The main Discord bot for the communityserver of AlexxOffi
GNU General Public License v3.0
0 stars 0 forks source link

New command: 'poll' #16

Open DerDomee opened 3 years ago

DerDomee commented 3 years ago

Is your feature request related to a problem? Please describe. When creating a poll manually, often the answers are badly formatted plus the author needs to append the reaction emotes himself. This could be automated via the bot

Describe the solution you'd like A new command 'poll' with following syntax: poll <question> <[emote] <option>> ..., with <required> and [optional]. At least two options should be provided. Option text can and should take advantage of multi-word-arguments using quotation marks. When no emote is specified for an answer, use emotes :REGIONAL_INDICATOR_A:, :REGIONAL_INDICATOR_B:, ... Obviously, when a custom emote is specified for an answer, the bot must check if it can use this emote. If not, fallback to regional indicator emojis. In this case, also note that not only the appended reaction should fallback, but also the emote used within the "option" text inside the embed that is generated by the bot.

Describe alternatives you've considered Add another bot to the server that can handle polls, but this is dirty tactics: Server should stay clean with as few bots as possible.

Additional context Add any other context or screenshots about the feature request here.