docs(forums): fixed incorrect commands listed in resolvedset role
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
449123b6ee
commit
2724376f65
1 changed files with 2 additions and 2 deletions
|
@ -101,9 +101,9 @@ class Forums(commands.Cog):
|
||||||
if role_obj:
|
if role_obj:
|
||||||
already_in_list.append(role_obj.mention)
|
already_in_list.append(role_obj.mention)
|
||||||
if already_in_list:
|
if already_in_list:
|
||||||
await ctx.send("Roles already in the allowed roles list:\n" + "\n".join(already_in_list) + f"\nUse `{ctx.prefix}forumconfig add` to add roles to this list.\nUse `{ctx.prefix}forumconfig remove` to remove roles from this list.", allowed_mentions=discord.AllowedMentions(roles=False))
|
await ctx.send("Roles already in the allowed roles list:\n" + "\n".join(already_in_list) + f"\nUse `{ctx.prefix}resolvedset role add` to add roles to this list.\nUse `{ctx.prefix}resolvedset role remove` to remove roles from this list.", allowed_mentions=discord.AllowedMentions(roles=False))
|
||||||
else:
|
else:
|
||||||
await ctx.send(f"No roles are currently in the allowed roles list.\nUse `{ctx.prefix}forumconfig add` to add some!")
|
await ctx.send(f"No roles are currently in the allowed roles list.\nUse `{ctx.prefix}resolvedset role add` to add some!")
|
||||||
|
|
||||||
@resolvedset_role.command(name='add')
|
@resolvedset_role.command(name='add')
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
|
Loading…
Reference in a new issue