From f040be98a1a891e68503673c82f0ff07d62e2c1a Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Wed, 14 Jun 2023 21:17:55 +1000 Subject: [PATCH] Why is this not even here? --- src/MPLoop.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MPLoop.ts b/src/MPLoop.ts index 55a3f8a..8aa6e20 100644 --- a/src/MPLoop.ts +++ b/src/MPLoop.ts @@ -65,7 +65,7 @@ export default async(client:TClient,Channel:string,Message:string,ServerName:str function playerLogEmbed(player:FSPlayer,joinLog:boolean){ const logEmbed = new client.embed().setDescription(`**${player.name} ${player.isAdmin ? '| admin' : ''}** ${joinLog ? 'joined' : 'left'} **${ServerName}** at `); if (joinLog) return logEmbed.setColor(client.config.embedColorGreen); - else return logEmbed.setColor(client.config.embedColorRed).setFooter({text:`Farmed for ${client.formatPlayerUptime(player.uptime)}`}) + else if (player.uptime > 0) return logEmbed.setColor(client.config.embedColorRed).setFooter({text:`Farmed for ${client.formatPlayerUptime(player.uptime)}`}) } function playerLog(){ // Player leaving