optional message
This commit is contained in:
parent
ef183232c1
commit
0fb643c58d
@ -7,7 +7,7 @@ from redbot.core.bot import Red
|
|||||||
|
|
||||||
class ForceMention:
|
class ForceMention:
|
||||||
"""
|
"""
|
||||||
V3 Cog Template
|
Mention the unmentionables
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, bot: Red):
|
def __init__(self, bot: Red):
|
||||||
@ -21,7 +21,7 @@ class ForceMention:
|
|||||||
|
|
||||||
@checks.admin_or_permissions(manage_roles=True)
|
@checks.admin_or_permissions(manage_roles=True)
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def forcemention(self, ctx: commands.Context, role: str, *, message):
|
async def forcemention(self, ctx: commands.Context, role: str, *, message=None):
|
||||||
"""
|
"""
|
||||||
Mentions that role, regardless if it's unmentionable
|
Mentions that role, regardless if it's unmentionable
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user