forked from blizzthewolf/SeaCogs
fix(moderation): fixed lookuperror
This commit is contained in:
parent
6b95743e73
commit
1c624ee8ab
1 changed files with 2 additions and 2 deletions
|
@ -1044,8 +1044,8 @@ class Moderation(commands.Cog):
|
||||||
await config.user(ctx.author).auto_evidenceformat.set(enabled)
|
await config.user(ctx.author).auto_evidenceformat.set(enabled)
|
||||||
await ctx.send(f"Auto evidenceformat setting set to {enabled}")
|
await ctx.send(f"Auto evidenceformat setting set to {enabled}")
|
||||||
|
|
||||||
@moderationset_autoevidence.command(name='autoevidence')
|
@moderationset_autoevidence.command(name='guild')
|
||||||
async def moderationset_autoevidence(self, ctx: commands.Context, enabled: bool):
|
async def moderationset_autoevidence_guild(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.guild(ctx.guild).auto_evidenceformat.set(enabled)
|
await config.guild(ctx.guild).auto_evidenceformat.set(enabled)
|
||||||
await ctx.send(f"Auto evidenceformat setting set to {enabled}")
|
await ctx.send(f"Auto evidenceformat setting set to {enabled}")
|
||||||
|
|
Loading…
Reference in a new issue