Skip to content

Commit

Permalink
Attempt to reduce mute delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorgen1040 committed Mar 7, 2021
1 parent 0e464e2 commit d610d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ async def shutup(ctx):
for channel in channels:
# ? If user calling command is in a vc with the other, also do vc mute
await channel.set_permissions(muted_role, speak=True)
await ctx.send("https://tenor.com/view/meryl-streep-shut-up-yell-gif-15386483")
await ctx.message.author.add_roles(muted_role)
await mention.add_roles(muted_role)
await ctx.send("https://tenor.com/view/meryl-streep-shut-up-yell-gif-15386483")
await asyncio.sleep(60)
await ctx.message.author.remove_roles(muted_role)
await mention.remove_roles(muted_role)
Expand Down

0 comments on commit d610d06

Please sign in to comment.