coordinape / discord-bot

Discord Bot for Coordinape Circles Administration
MIT License
3 stars 0 forks source link

`/co configuration` Command #6

Open ephemeralrogue opened 2 years ago

ephemeralrogue commented 2 years ago

The /co configuration command is how admins will configure the bot from within Discord. Upon running the command, CO Kong will create a Coordinape configuration channel, accessible only to server and Circle admins. Circle admins will be able to

Once configured, users will be actively updated on each side. For example, if a role that is assigned to a circle gets removed from a user, that user will be removed from the circle in the web app, and vice versa.

Once circle and role assignments are complete, users will be able to opt-in to and manage updates after connecting their Discord account to Coordinape. Updates fire off during the final 20% of the Epoch and can include:

FilipeAleixo commented 2 years ago

Working on it here https://github.com/nonsensecodes/CO-Kong/tree/feature/configuration-command

ephemeralrogue commented 2 years ago

Working on it here https://github.com/nonsensecodes/CO-Kong/tree/feature/configuration-command

This is awesome, @FilipeAleixo! I created a new folder under the app>service folder called coordinape and added two files: configuration.ts and roleAssignment.ts. Will you move the configurationPermissions and configurationAlerts functions to the configuration file? We'll use the roleAssignments file to drop the logic for the GuildMemberUpdate event.

FilipeAleixo commented 2 years ago

@nonsensetwice yup, will do once I get the bot working locally on Ubuntu