fix(pterodactyl): pylint fixes
This commit is contained in:
parent
497f6a0a1a
commit
c65fdd698c
2 changed files with 2 additions and 3 deletions
|
@ -109,8 +109,7 @@ class Pterodactyl(commands.Cog):
|
|||
if current_status == action_ing:
|
||||
if isinstance(ctx, discord.Interaction):
|
||||
return await ctx.response.send_message(f"Server is already {action_ing}.", ephemeral=True)
|
||||
else:
|
||||
return await ctx.send(f"Server is already {action_ing}.")
|
||||
return await ctx.send(f"Server is already {action_ing}.")
|
||||
|
||||
if current_status in ["starting", "stopping"]:
|
||||
if isinstance(ctx, discord.Interaction):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue