mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
[Warnings] Make [p]warnings usable on base of permissions (#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 #2900
This commit is contained in:
2
changelog.d/warnings/2900.enhance.rst
Normal file
2
changelog.d/warnings/2900.enhance.rst
Normal file
@@ -0,0 +1,2 @@
|
||||
``[p]warnings`` can now be used by users that have the permission to use it from the Permissions cog, in order to check another user's warnings.
|
||||
``[p]mywarnings`` can now be used by any user (instead of ``[p]warnings`` previously) to check their own warnings.
|
||||
Reference in New Issue
Block a user