mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
@@ -453,7 +453,7 @@ class Admin(commands.Cog):
|
|||||||
"""Manage selfroles."""
|
"""Manage selfroles."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@selfroleset.command(name="add")
|
@selfroleset.command(name="add", require_var_positional=True)
|
||||||
async def selfroleset_add(self, ctx: commands.Context, *roles: discord.Role):
|
async def selfroleset_add(self, ctx: commands.Context, *roles: discord.Role):
|
||||||
"""
|
"""
|
||||||
Add a role, or a selection of roles, to the list of available selfroles.
|
Add a role, or a selection of roles, to the list of available selfroles.
|
||||||
@@ -486,7 +486,7 @@ class Admin(commands.Cog):
|
|||||||
|
|
||||||
await ctx.send(message)
|
await ctx.send(message)
|
||||||
|
|
||||||
@selfroleset.command(name="remove")
|
@selfroleset.command(name="remove", require_var_positional=True)
|
||||||
async def selfroleset_remove(self, ctx: commands.Context, *roles: SelfRole):
|
async def selfroleset_remove(self, ctx: commands.Context, *roles: SelfRole):
|
||||||
"""
|
"""
|
||||||
Remove a role, or a selection of roles, from the list of available selfroles.
|
Remove a role, or a selection of roles, from the list of available selfroles.
|
||||||
|
|||||||
Reference in New Issue
Block a user