Skip to content

Improve MANUAL_MODERATION_WARNING_MESSAGE_LOCATION validation #520

@MattyTheHacker

Description

@MattyTheHacker

Currently we do not do any validation on input for this variable. A regex or other checks should be implemented to ensure that the channel name is valid. This will be tricky as it doesn't seem like discord have clear docs on what is considered valid.

Additionally, it's theoretically possible that a discord channel with the name "DM" exists, which could conflict with the default DM option. A note added to the documentation would likely be useful just to document this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions