fix(moderation): fixed import command

This commit is contained in:
Seaswimmer 2023-12-18 16:20:36 -05:00
parent c1a359e856
commit b982975a0c
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1340,7 +1340,7 @@ class Moderation(commands.Cog):
async def moderationset_import(self, ctx: commands.Context): async def moderationset_import(self, ctx: commands.Context):
"""Import moderations from other bots.""" """Import moderations from other bots."""
moderationset_import.command(name="moderation") @moderationset_import.command(name="moderation")
@checks.admin() @checks.admin()
async def moderationset_import_moderation(self, ctx: commands.Context): async def moderationset_import_moderation(self, ctx: commands.Context):
"""Import moderations from another bot using this cog.""" """Import moderations from another bot using this cog."""