forked from blizzthewolf/SeaCogs
fix(moderation): fixed failing to load
This commit is contained in:
parent
d4dae2f770
commit
6b95743e73
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ class Moderation(commands.Cog):
|
||||||
async def moderationset(self, ctx: commands.Context):
|
async def moderationset(self, ctx: commands.Context):
|
||||||
"""Manage moderation commands."""
|
"""Manage moderation commands."""
|
||||||
|
|
||||||
@moderationset.command(name='autoevidence')
|
@moderationset.group(name='autoevidence')
|
||||||
async def moderationset_autoevidence(self, ctx: commands.Context, enabled: bool):
|
async def moderationset_autoevidence(self, ctx: commands.Context, enabled: bool):
|
||||||
"""Toggle if the evidenceformat codeblock should be sent automatically."""
|
"""Toggle if the evidenceformat codeblock should be sent automatically."""
|
||||||
await config.user(ctx.author).auto_evidenceformat.set(enabled)
|
await config.user(ctx.author).auto_evidenceformat.set(enabled)
|
||||||
|
|
Loading…
Reference in a new issue