mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-21 16:52:31 -05:00
Use the commands module instead of checks for permission decorators (#5463)
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -164,7 +164,7 @@ def is_owner_if_bank_global():
|
||||
.. code-block:: python
|
||||
|
||||
@bank.is_owner_if_bank_global()
|
||||
@checks.guildowner()
|
||||
@commands.guildowner()
|
||||
@commands.group()
|
||||
async def bankset(self, ctx: commands.Context):
|
||||
\"""Base command for bank settings.\"""
|
||||
|
||||
Reference in New Issue
Block a user