Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -381,7 +381,7 @@ client.once('ready', async () => {
|
|
| 381 |
storage.save('active_polls');
|
| 382 |
}
|
| 383 |
|
| 384 |
-
},
|
| 385 |
});
|
| 386 |
|
| 387 |
function addToCleanupQueue(guildId, channelId, messageId, type = 'poll') {
|
|
|
|
| 381 |
storage.save('active_polls');
|
| 382 |
}
|
| 383 |
|
| 384 |
+
}, 30000); // Check every 30 seconds for better precision
|
| 385 |
});
|
| 386 |
|
| 387 |
function addToCleanupQueue(guildId, channelId, messageId, type = 'poll') {
|