-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit for Choose cog * formatting * fixed formatting for linter * fixed mypy type errors * fixed suggested locations * added check for invalid prefix * added list of invalid prefixes and a check in the custom prefix cog * fixed formatting issues for automatic checks * Changed Invalid prefix list location and updated error message --------- Co-authored-by: Justin Kristensen <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,3 +97,4 @@ class Moderation: | |
|
||
|
||
TAG_INVOKE_REGEX = r"{tag_prefix}([^\s]+)" | ||
INVALID_PREFIXES = ["<"] |