CSSC-Bot is a bot written to help the students of the UWM CS Smart Club Discord server to get the correct roles for their classes, jobs and years. To join, join the Student Hub and search for CS Smart Club. https://discord.gg/JEdgkZWgkD
Using slash commands, make it possible to populate the database with all cs class data (except for role id and role name) either by using a URL to a public json file or otherwise providing the class data to the bot without directly editing the database.
Make cs class channels able to be renamed and not break the system. Same with roles. Revamp how csclassrole poll translates button presses into role id's so roles can have special names, not 100% derived from the CLASS_CODE
Add maybe configurable welcome message sent to a user in dm's or in #hellos (the server's welcome channel) telling the user to go select their role from #roles.
The following code in index.ts always fails because client emits ready event before the database is connected
// Check to make sure the roles exist in all serversconsole.log("Checking if all roles exist in servers.");client.guilds.cache.forEach(async(guild)=>{checkForRoles(guild);});
Check for channels that match cs roles in the cs category and then create those channels if they don't exist. Save the channel name and ID to the class schema so it can be referenced easily later