misc(shortmute): trimmed useless whitespace
All checks were successful
Pylint / Pylint (push) Successful in 1m10s

This commit is contained in:
Seaswimmer 2023-09-27 13:59:35 -04:00
parent bc6f5bdfbe
commit 0000bec73f
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -74,7 +74,7 @@ class Shortmute(commands.Cog):
if role in target.roles: if role in target.roles:
await interaction.response.send_message(content="You're trying to shortmute someone who is immune from shortmuting.", ephemeral=True) await interaction.response.send_message(content="You're trying to shortmute someone who is immune from shortmuting.", ephemeral=True)
return 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) await interaction.response.send_message(content="You cannot shortmute people with the Administrator permission!", ephemeral=True)
return return
if duration in (1, -1): if duration in (1, -1):