fisher60 / friendo-bot

A Discord Bot that is just a good Friendo
MIT License
25 stars 24 forks source link

Feature/dogeboard #186

Closed GDWR closed 3 years ago

GDWR commented 3 years ago

Dogeboard

DogeBoard is an adaption of Starboard. It will allow Administrators to set a channel for messages to be sent to if they received a number of reactions using a specific Emoji.

This feature will activate once the user specifies a DogeBoard channel using .dogeboard channel <channel_id>

Defaults

By default, the 🐶 emoji is set for the guild and the required reactions is 5.

GDWR commented 3 years ago

Dogeboard Menu

The Dogeboard menu accessed by writing .dogeboard is shown below. \ It displays the emoji, Channel and required reactions to trigger the Dogeboard image

Configuring DogeBoard

DogeBoard is Guild specific and ties into the API of FriendoWebsite. This allows Guilds to set up their own configuration using the following commands.

GDWR commented 3 years ago

There is still an issue with the emojis. Changing to a custom emoji does not work. The bot confirms the change and the change is made on the database, but then the new emoji is not used for the dogeboard, nor does the old emoji work. Perhaps an issue with how we are comparing the emoji.

Latest commit fixes this issue. It was being saved as an Emoji instance in cache rather than as a string.