diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index 97cbd57..818e15a 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -8,7 +8,7 @@ import aiohttp import discord import websockets from pydactyl import PterodactylClient -from redbot.core.utils.chat_formatting import pagify +from redbot.core.utils.chat_formatting import bold, pagify from pterodactyl.config import config from pterodactyl.logger import logger @@ -244,7 +244,7 @@ async def generate_join_leave_embed(username: str, join: bool) -> discord.Embed: async def generate_achievement_embed(username: str, achievement: str, challenge: bool) -> discord.Embed: embed = discord.Embed() embed.color = discord.Color.dark_purple() if challenge else discord.Color.brand_green() - embed.description = f"{username} has {'completed the challenge' if challenge else 'made the advancement'} {achievement}" + embed.description = f"{bold(username)} has {'completed the challenge' if challenge else 'made the advancement'} {bold(achievement)}" info = await get_info(username) if info: embed.set_author(name=username, icon_url=info['data']['player']['avatar'])