Stop the insanity that is this inconsistent command name! (#4328)

This commit is contained in:
Kowlin 2020-08-25 13:18:50 +02:00 committed by GitHub
parent b0250b91cc
commit eeb5f651b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ class ModLog(commands.Cog):
await modlog.handle_auditype_key()
await ctx.tick()
@modlogset.command()
@modlogset.command(aliases=["channel"])
@commands.guild_only()
async def modlog(self, ctx: commands.Context, channel: discord.TextChannel = None):
"""Set a channel as the modlog.