Fix group command mention

This commit is contained in:
2021-03-12 14:32:31 +01:00
parent 476e8c391f
commit 6a5a38c759

2
bot.py
View File

@@ -434,7 +434,7 @@ async def group_command(ctx: commands.Context, subcommand: Optional[str], arg: O
for member in members: for member in members:
await member.add_roles(role, reason="Create group " + arg) await member.add_roles(role, reason="Create group " + arg)
await asyncio.sleep(5) await asyncio.sleep(5)
await channel.send("Hi, @" + role.name) await channel.send("Hi, " + role.mention)
await ctx.send("Done :)") await ctx.send("Done :)")