[WarnSystem]: Use @commands.mod_or_permissions() check.#220
Open
Evanroby wants to merge 2 commits intolaggron42:v3from
Open
[WarnSystem]: Use @commands.mod_or_permissions() check.#220Evanroby wants to merge 2 commits intolaggron42:v3from
Evanroby wants to merge 2 commits intolaggron42:v3from
Conversation
laggron42
reviewed
Sep 12, 2025
Owner
laggron42
left a comment
There was a problem hiding this comment.
Hey, thanks a lot for your contribution!
I didn't know about the checks thing, it's a good thing to edit indeed. It's brave that you want to attempt fixing the lint in that mess haha, but thanks a lot!
Author
|
Fixed. you can check it out now. |
Author
|
If you want, you can dm me (@Evanroby) on discord if you want me to edit other files. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request type
Feature implementation.
Description of the changes
I simply fixed Ruff warnings for lamba, reformated imports, and most importantly removed the use of
@checks.mod_or_permissions()and replaced by@commands.mod_or_permissions()check, so[p]permissionscan override it, and I usedkick_memberson some decorators, since it suits more the requirements to run the command for me.