Update index.js

This commit is contained in:
Milo Gourvest
2025-06-19 00:40:47 +02:00
committed by GitHub
parent 11da7d687e
commit 4994931f8e

View File

@@ -675,7 +675,7 @@ client.once('ready', async () => {
try {
const akhys = getAllUsers.all()
akhys.forEach((akhy) => {
resetDailyReward.run(akhy);
resetDailyReward.run(akhy.id);
})
} catch (e) {
console.log(e)