misc(forums): shortened docstring for resolvedset channel
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
71afa9630d
commit
0f08daa02d
1 changed files with 1 additions and 1 deletions
|
@ -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}.")
|
||||
|
|
Loading…
Reference in a new issue