feat(aurora): added [p]auroraset showmoderator
command and relevant matching features
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 41s
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 41s
This commit is contained in:
parent
f55dd00300
commit
eaf08f2e08
3 changed files with 16 additions and 1 deletions
|
@ -1289,6 +1289,13 @@ class Aurora(commands.Cog):
|
|||
await config.guild(ctx.guild).log_channel.set(" ")
|
||||
await ctx.send("Logging channel disabled.")
|
||||
|
||||
@auroraset.command(name="showmoderator")
|
||||
@checks.admin()
|
||||
async def auroraset_showmoderator(self, ctx: commands.Context):
|
||||
"""Toggle if the cog should show the moderator in the case embed when dming a user."""
|
||||
await config.guild(ctx.guild).show_moderator.set(not await config.guild(ctx.guild).show_moderator())
|
||||
await ctx.send(f"Show moderator setting set to {await config.guild(ctx.guild).show_moderator()}")
|
||||
|
||||
@auroraset.group(autohelp=True, name='import')
|
||||
@checks.admin()
|
||||
async def auroraset_import(self, ctx: commands.Context):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue