fix(pterodactyl): pylint fixes
This commit is contained in:
parent
497f6a0a1a
commit
c65fdd698c
2 changed files with 2 additions and 3 deletions
|
@ -222,7 +222,7 @@ async def send_chat_discord(coginstance: Pterodactyl, username: str, message: st
|
|||
await webhook.send(content=message, username=username, avatar_url=avatar_url, allowed_mentions=discord.AllowedMentions(everyone=False, roles=False, users=True))
|
||||
logger.debug("Chat message sent to Discord")
|
||||
else:
|
||||
logger.warn("Chat channel not set. Skipping sending chat message to Discord")
|
||||
logger.warning("Chat channel not set. Skipping sending chat message to Discord")
|
||||
|
||||
async def generate_join_leave_embed(username: str, join: bool) -> discord.Embed:
|
||||
embed = discord.Embed()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue