From 9e96d2f0baa311ced20f36422aeb834e38d43457 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 29 Oct 2024 14:42:34 +0000 Subject: [PATCH] replace discord log with console log --- projects/backend/src/service/score.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/backend/src/service/score.service.ts b/projects/backend/src/service/score.service.ts index 32e1c8e..d6c2be5 100644 --- a/projects/backend/src/service/score.service.ts +++ b/projects/backend/src/service/score.service.ts @@ -206,9 +206,8 @@ export class ScoreService { score.score )) !== null ) { - await logToChannel( - DiscordChannels.backendLogs, - new EmbedBuilder().setDescription(`Score ${score.scoreId} already tracked`) + console.log( + `ScoreSaber score already tracked for "${playerName}"(${playerId}), difficulty: ${score.difficulty}, score: ${score.score}, leaderboard: ${leaderboard.id}, ignoring...` ); return; }