mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-28 13:42:23 -05:00
[Docs] Reports Cog Guide (#4882)
* [Docs] Reports Cog Guide * Add cog to toctree * corrections for docs tox style * Edit sig (#4881) * fix typo * Add labeler glob * unify style * decapitalize disable * black
This commit is contained in:
@@ -114,7 +114,7 @@ class Reports(commands.Cog):
|
||||
@checks.admin_or_permissions(manage_guild=True)
|
||||
@reportset.command(name="toggle", aliases=["toggleactive"])
|
||||
async def reportset_toggle(self, ctx: commands.Context):
|
||||
"""Enable or Disable reporting for this server."""
|
||||
"""Enable or disable reporting for this server."""
|
||||
active = await self.config.guild(ctx.guild).active()
|
||||
active = not active
|
||||
await self.config.guild(ctx.guild).active.set(active)
|
||||
|
||||
Reference in New Issue
Block a user