Compare commits
No commits in common. "0000bec73fc9e081e1b87f5e11e3ae78ade4fcc0" and "9976cc1905ad3688d673f0ec8f00f3e2d52359d2" have entirely different histories.
0000bec73f
...
9976cc1905
2 changed files with 2 additions and 3 deletions
|
@ -11,5 +11,4 @@
|
|||
too-many-locals,
|
||||
too-many-public-methods,
|
||||
too-many-statements,
|
||||
arguments-differ,
|
||||
too-many-return-statements
|
||||
arguments-differ
|
||||
|
|
|
@ -74,7 +74,7 @@ class Shortmute(commands.Cog):
|
|||
if role in target.roles:
|
||||
await interaction.response.send_message(content="You're trying to shortmute someone who is immune from shortmuting.", ephemeral=True)
|
||||
return
|
||||
if target.guild_permissions.administrator is True:
|
||||
if target.guild_permissions.administrator is True:
|
||||
await interaction.response.send_message(content="You cannot shortmute people with the Administrator permission!", ephemeral=True)
|
||||
return
|
||||
if duration in (1, -1):
|
||||
|
|
Loading…
Reference in a new issue