Open ephemeralrogue opened 2 years ago
Working on it here https://github.com/nonsensecodes/CO-Kong/tree/feature/configuration-command
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.
@nonsensetwice yup, will do once I get the bot working locally on Ubuntu
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 toOnce 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: