Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Warnings] Permissions for `[p]warnings` command can't be modified #2900
What cog is this command from?
What were you expecting to happen?
Permissions cog to be able to change required permissions for
What actually happened?
The command still couldn't be used by mods. Reason for this is that we use a
How can we reproduce this issue?
My comment from the recent duplicate applies here:
To further clarify,
The general idea was that server admins especially on bigger servers can entrust a specific role with the ability to check a users warnings and proceed with different disciplinary actions as a result of the outcome of the warnings check.
Whether that would be done in a seperate command or not doesn't really matter, but I think the option should be there, especially since every other aspect of the warnings cog is controllable using permissions.
…rs#3327) * new code Added the admin check to warnings and removed the part where the user could check themselves. Added new mywarns which replaces part of the old behaviour of warn * Update warnings.py * Create 2900.enhance.rst * Fixed command name Because appearently I can't remember a command for 10 seconds * Commands in backticks Put command names in changelog in double backticks after being advised to do so in discord * made user not optional, and the other thing sinbad requested * switched parts. magic resolves Cog-Creators#2900