fixed taskmaster

This commit is contained in:
liyunze 2024-10-17 08:09:11 +11:00
parent 574fbf3760
commit 33cb61b10f

View file

@ -245,7 +245,7 @@ async function getTaskMasterChampion() {
for (const user in taskmaster.users) { for (const user in taskmaster.users) {
if ( if (
user.toLowerCase() === auth.channel && user.toLowerCase() !== auth.channel.toLowerCase() &&
taskmaster.users[user].taskMasterCompleteCount > champion.count taskmaster.users[user].taskMasterCompleteCount > champion.count
) { ) {
champion.username = user; champion.username = user;