Skip to content

Conversation

osam7a
Copy link

@osam7a osam7a commented Jul 31, 2023

Generally modified most of the code, for better readability and whatnot. Added pandas to requirements, prettier ping command, changed channel identification by ID, Moved views to seperate folder, and finally a rewrite for the help command. Exact details:

  • Made it that the main classes can be imported directly from the classes/ folder
  • Added pandas to the requirements (Used in QuestionQuery.py)
  • Made the ping command look better by adding a codeblock + Added API Latency as well
  • Now you have to use channel IDs rather than names for the moderation cog. Gives us freedom to change the name however we like without having to go back to the code
  • Renamed some files for using snake_case instead of camelCase and PascalCase
  • Moved the views into a separate folder to organize stuff better
  • Rewrote the help command to make it look better. It shows all cogs for users except "Moderation" and "Admin" (Unless you're a mod or admin ofcoarse)
  • Made a 10-minute interval task loop for updating the "Upcoming Event" Locked VC, which will get the last message from the #events channel and get the event info. Also used the loop for updating Member Count in the "Member Count: " Locked VC
  • Changed from using task loop to on_message & on_member_join listeners
  • Removed multiple unused imports from files
  • Made a "Paginator" class for multi-purpose pagination
  • Improved the issue list command with using the new Paginator class

@osam7a osam7a changed the title Generally modified most of the code, for better readability and whatnot. Added pandas to requirements, prettier ping command, changed channel identification by ID, Moved views to seperate folder, and finally a rewrite for the help command Changed some stuff in the hierarchy and rewrote help + ping commands. Jul 31, 2023
@osam7a osam7a changed the title Changed some stuff in the hierarchy and rewrote help + ping commands. Changed for a better hierarchy, added "Upcoming Event" & "Member Count" channel logic, and made a better pagination system for issue listing command Aug 20, 2023
@nihaalnz nihaalnz self-requested a review August 20, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant