fix(moderation): guild should be a parent of history, not moderationset
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 55s

This commit is contained in:
Seaswimmer 2023-12-14 17:27:20 -05:00
parent 88d6d86522
commit 51d4dbb4cb
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -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."""