Merge pull request #30 from cassoule/cassoule-patch-1

Update index.js
This commit is contained in:
Milo Gourvest
2025-06-19 00:40:55 +02:00
committed by GitHub

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)