From cce8d9e022b69b0547d0532cb90ae584662b2fd1 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Mon, 12 Jun 2023 14:33:29 +1000 Subject: [PATCH] Add footer to leave log --- src/MPLoop.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MPLoop.ts b/src/MPLoop.ts index bb5bd61..55a3f8a 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) + else return logEmbed.setColor(client.config.embedColorRed).setFooter({text:`Farmed for ${client.formatPlayerUptime(player.uptime)}`}) } function playerLog(){ // Player leaving