optional message

This commit is contained in:
bobloy 2018-08-16 15:35:12 -04:00
parent ef183232c1
commit 0fb643c58d

View File

@ -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
""" """