Improve the och!groups command
This commit is contained in:
2
bot.py
2
bot.py
@@ -431,7 +431,9 @@ async def group_command(ctx: commands.Context, subcommand: Optional[str], arg: O
|
|||||||
if members:
|
if members:
|
||||||
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 channel.send("Hi, @" + role.name)
|
await channel.send("Hi, @" + role.name)
|
||||||
|
await ctx.send("Done :)")
|
||||||
|
|
||||||
|
|
||||||
def _is_message_valid_for_selection(message: discord.Message, reaction_filter: Optional[str] = None) -> bool:
|
def _is_message_valid_for_selection(message: discord.Message, reaction_filter: Optional[str] = None) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user