From 0fb643c58d1f8c7eb0eaa0becd4023bc513d5a1c Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 16 Aug 2018 15:35:12 -0400 Subject: [PATCH] optional message --- forcemention/forcemention.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forcemention/forcemention.py b/forcemention/forcemention.py index fe0b773..14d171f 100644 --- a/forcemention/forcemention.py +++ b/forcemention/forcemention.py @@ -7,7 +7,7 @@ from redbot.core.bot import Red class ForceMention: """ - V3 Cog Template + Mention the unmentionables """ def __init__(self, bot: Red): @@ -21,7 +21,7 @@ class ForceMention: @checks.admin_or_permissions(manage_roles=True) @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 """