SGA-A / c2c

Source code for the custom app exclusive to cc, where most interactions begin and end.
MIT License
2 stars 0 forks source link

Role commands not shown under help command #91

Closed SGA-A closed 3 months ago

SGA-A commented 3 months ago

Describe the bug When viewing the category 'Moderation', which is part of the category these commands are under, the /role subcommands do not display at all. This wasn't a problem before and they used to be displayed until this commit: https://github.com/SGA-A/c2c/commit/fd0fe8cc92507ec8b5776ac6221e74a50c089b78. This is due to the role group and its respective subcommands being built outside of the cog itself. Meaning when the bot queries the cog, it doesn't find it because it is not defined inside the cog.

To Reproduce Steps to reproduce the behavior:

  1. Type /help
  2. Select the Moderation category
  3. Notice none of the /role subcommands are displayed

Expected behavior All the role subcommands are displayed as they were previously.

Additional context None.

SGA-A commented 3 months ago

Not sure how we will patch this, we are adamant on reversing the changes that made this happen.

We will find a solution soon.

SGA-A commented 3 months ago

The issue was resolved faster than expected. Credits go to @serephenna for providing the solution, despite the commit being made by me.