From 6a5a38c7593213b706f7ff7ba3e6891738c1a6b3 Mon Sep 17 00:00:00 2001 From: Siphalor Date: Fri, 12 Mar 2021 14:32:31 +0100 Subject: [PATCH] Fix group command mention --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 4a3ae1c..5065cba 100644 --- a/bot.py +++ b/bot.py @@ -434,7 +434,7 @@ async def group_command(ctx: commands.Context, subcommand: Optional[str], arg: O for member in members: await member.add_roles(role, reason="Create group " + arg) await asyncio.sleep(5) - await channel.send("Hi, @" + role.name) + await channel.send("Hi, " + role.mention) await ctx.send("Done :)")