mirror of
https://github.com/RustyRaptor/GodEmperorBot-Cogs.git
synced 2026-12-03 15:55:19 -07:00
Fix security issue, turn command into a command.
This commit is contained in:
1 parent
d217484c9e
commit
59801c0cb1
1 file changed
+2
-2
+2
-2
@@ -8,8 +8,8 @@ class CMD(commands.Cog):
|
||||
"""My custom cog"""
|
||||
|
||||
@commands.guild_only()
|
||||
@checks.guildowner()
|
||||
@commands.group()
|
||||
@checks.is_owner()
|
||||
@commands.command()
|
||||
async def cmd(self, ctx, arg, *arg2):
|
||||
command = arg
|
||||
args = " ".join(arg2)
|
||||
|
||||
Reference in new issue
Block a user