Skip to content

Move hardcoded role definitions to config system - #645

Open
cloudburstwan wants to merge 1 commit into
manefrom
feature/punishment-role-config
Open

cloudburstwan wants to merge 1 commit into
manefrom
feature/punishment-role-config

Conversation

@cloudburstwan

Copy link
Copy Markdown
Collaborator

This PR moves the hardcoded BanishedRoleId and TartarusRoleId definitions in DiscordHelper to the configuration file system, also updates related tests.

In order to keep some basic organisation, this PR also moves ModRole and ModChannel to a new Moderation configuration category.

@cloudburstwan cloudburstwan self-assigned this Nov 4, 2026
@cloudburstwan cloudburstwan added bug Something isn't working. Use severity level labels (level: <level>) to show the severity. severity: major Blocks either use of feature, or deprecating existing feature on another bot. size: small Should take a day or less to implement. .NET Pull requests that update .net code labels Nov 4, 2026
@cloudburstwan
cloudburstwan requested a review from Ixrec November 4, 2026 00:31
@cloudburstwan

cloudburstwan commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator Author

The test failures I'm not exactly sure what's happening. Seems to be failures within test setup functions rather than tests themselves. Also not sure what's happening with that string.

Since tests aren't my forte rn and half the code there is a magical box in my eyes (i've never been good at writing testable code), I'll leave that to @Ixrec to fix as that's their work

@Ixrec

Ixrec commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

If we survive the intent application unscathed then yeah I'll figure out what's going on with the tests. For now all code quality issues are on hold until we know how much of Izzy is even allowed to live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Use severity level labels (level: <level>) to show the severity. .NET Pull requests that update .net code severity: major Blocks either use of feature, or deprecating existing feature on another bot. size: small Should take a day or less to implement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants