You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* course-chat-fix-2, make new roles where there arent any in /rolespermoverride and also remove individual permission overwrites, and also updates to /course join to catch when there doesn't exist a role for a course and also /course leave to attempt to remove individual permission overwrites along with removing course role PLEASE TEST THOROUGHLY AND INSPECT CODE THOROUGHLY. I wrote this ASAP and haven't got time to properly review it.
* Modified functions for course channel fixes
* Check for if user only has read perms for overwrite replacing and fix looping over members
* Fix to functionality of iteration and editing roles
* Fix to initial working state
* Fix linting
* Additional fixes to ordering and component operations to remove role and individual permissions correctly
* Appended filter for both view only perms and view + send messages perms
---------
Co-authored-by: AcdSoftCo <106219586+AcdSoftCo@users.noreply.github.com>
Co-authored-by: Wolfdragon24 <dragonbomber24@gmail.com>
// if there isn't a role that matches the name of the course
131
133
returnawaitinteraction.reply({
132
-
content: `✅ | End of command - ${course_with_alias}.`,
134
+
content: `There doesn't exist a role for \`${course_with_alias}\`. If you believe there should be, please inform a member of the Discord Bot team or staff.`,
0 commit comments