From 33cb61b10f4f71cf3fd4289119eb7f42897b710f Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:09:11 +1100 Subject: [PATCH] fixed taskmaster --- scripts/taskList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/taskList.js b/scripts/taskList.js index d8f2938..f6971fd 100644 --- a/scripts/taskList.js +++ b/scripts/taskList.js @@ -245,7 +245,7 @@ async function getTaskMasterChampion() { for (const user in taskmaster.users) { if ( - user.toLowerCase() === auth.channel && + user.toLowerCase() !== auth.channel.toLowerCase() && taskmaster.users[user].taskMasterCompleteCount > champion.count ) { champion.username = user;