misc(art): changed some names of config commands

This commit is contained in:
Seaswimmer 2023-12-28 10:09:50 -05:00
parent 1611bfa180
commit caac1a2c3f
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -49,13 +49,13 @@ class Art(commands.Cog):
"""Art submission settings.""" """Art submission settings."""
@artset.command() @artset.command()
async def channel(self, ctx: commands.Context, channel: discord.TextChannel): async def submission(self, ctx: commands.Context, channel: discord.TextChannel):
"""Set the art submission channel.""" """Set the art submission channel."""
await self.config.guild(ctx.guild).art_submission_channel.set(channel.id) await self.config.guild(ctx.guild).art_submission_channel.set(channel.id)
await ctx.send(f"Art submission channel set to {channel.mention}.") await ctx.send(f"Art submission channel set to {channel.mention}.")
@artset.command() @artset.command()
async def artchannel(self, ctx: commands.Context, channel: discord.TextChannel): async def result(self, ctx: commands.Context, channel: discord.TextChannel):
"""Set the art channel.""" """Set the art channel."""
await self.config.guild(ctx.guild).art_channel.set(channel.id) await self.config.guild(ctx.guild).art_channel.set(channel.id)
await ctx.send(f"Art channel set to {channel.mention}.") await ctx.send(f"Art channel set to {channel.mention}.")