From de3f4291a6c1606c21e0e54f212b89b4072e9597 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Fri, 17 Feb 2023 08:43:29 +1100 Subject: [PATCH] Add spaces for console.log --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 2bfdf58..24eb3b9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -141,9 +141,9 @@ setInterval(async()=>{ const lrsStart = client.config.LRSstart; client.punishments._content.filter((x:Punishment)=>x.endTime<= now && !x.expired).forEach(async (punishment:Punishment)=>{ - console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}]` + `${punishment.member}\'s ${punishment.type} should expire now`); + console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}] ` + `${punishment.member}\'s ${punishment.type} should expire now`); const unpunishResult = await client.punishments.removePunishment(punishment.id, client.user.id, 'Time\'s up!'); - console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}]` + unpunishResult); + console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}] ` + unpunishResult); }); const formattedDate = Math.floor((now - lrsStart)/1000/60/60/24);