Fix group command mention
This commit is contained in:
2
bot.py
2
bot.py
@@ -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 :)")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user