Close #53
This commit is contained in:
parent
505787fe94
commit
52ecdfc9f5
1 changed files with 2 additions and 0 deletions
|
@ -491,6 +491,8 @@ class AdminCog(commands.Cog):
|
|||
)
|
||||
return
|
||||
role = get(ctx.guild.roles, id=mute_setting["value"])
|
||||
if role in user.roles:
|
||||
await ctx.send("User already muted", hidden=True)
|
||||
await user.add_roles(role, reason=reason)
|
||||
time = datetime.now()
|
||||
expiry = None
|
||||
|
|
Loading…
Add table
Reference in a new issue