misc(forums): shortened docstring for resolvedset channel
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-08 14:01:36 -04:00
parent 71afa9630d
commit 0f08daa02d
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -171,7 +171,7 @@ class Forums(commands.Cog):
@resolvedset.command(name="channel")
async def resolvedset_channel(self, ctx: commands.Context, channel: discord.abc.GuildChannel):
"""Sets the forums channel used by the [p]resolved command."""
"""Sets the channel used by the [p]resolved command."""
if isinstance(channel, discord.ForumChannel):
await self.config.guild(ctx.guild).forum_channel.set(channel.id)
await ctx.send(f"Forum channel has been set to {channel.mention}.")