fix(moderation): guild should be a parent of history, not moderationset
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s
This commit is contained in:
parent
88d6d86522
commit
51d4dbb4cb
1 changed files with 1 additions and 1 deletions
|
@ -1174,7 +1174,7 @@ class Moderation(commands.Cog):
|
||||||
await self.config.user(ctx.author).history_inline_pagesize.set(pagesize)
|
await self.config.user(ctx.author).history_inline_pagesize.set(pagesize)
|
||||||
await ctx.send(f"Inline pagesize set to {await self.config.user(ctx.author).history_inline_pagesize()}")
|
await ctx.send(f"Inline pagesize set to {await self.config.user(ctx.author).history_inline_pagesize()}")
|
||||||
|
|
||||||
@moderationset.group(autohelp=True, name='guild')
|
@moderationset_history.group(autohelp=True, name='guild')
|
||||||
@checks.admin()
|
@checks.admin()
|
||||||
async def moderationset_history_guild(self, ctx: commands.Context):
|
async def moderationset_history_guild(self, ctx: commands.Context):
|
||||||
"""Manage configuration for the /history command, per guild."""
|
"""Manage configuration for the /history command, per guild."""
|
||||||
|
|
Loading…
Reference in a new issue