Fix security issue, turn command into a command.

This commit is contained in:
reo-ar authored and GitHub committed 2020-10-15 10:22:07 -07:00
1 parent d217484c9e
commit 59801c0cb1
1 file changed
+2 -2
+2 -2
View File
@@ -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)