Improve the och!groups command

This commit is contained in:
2021-03-12 14:24:36 +01:00
parent da5450cd62
commit 4aa1d6f77e

2
bot.py
View File

@@ -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: