diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 368891b..2b9f5be 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -170,7 +170,7 @@ class Pterodactyl(commands.Cog): channel = self.bot.get_channel(await self.config.console_channel()) if channel: await channel.send(f"Received chat message from {message.author.id}: {message.content[:1900]}") - msg = json.dumps({"event": "send command", "args": [self.get_tellraw_string(message.author.name, message.content, message.author.color)]}) + msg = json.dumps({"event": "send command", "args": [self.get_tellraw_string(message.author.display_name, message.content, message.author.color)]}) self.logger.debug("Sending chat message to server:\n%s", msg) await self.websocket.send(msg)