This commit is contained in:
Dragon Fire
2020-11-19 17:27:28 -05:00
parent cae46fc0db
commit 305788ba19
+1 -1
View File
@@ -7,7 +7,7 @@ module.exports = class TimerManager {
async fetchAll() {
const timers = await Redis.db.hgetall('timer');
for (let data of Object.keys(timers)) {
for (let data of Object.values(timers)) {
data = JSON.parse(data);
await this.setTimer(data.channelID, new Date(data.time) - new Date(), data.userID, data.title, false);
}