mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix
This commit is contained in:
@@ -28,6 +28,7 @@ module.exports = class Timer {
|
|||||||
const channel = await this.client.channels.fetch(this.channelID);
|
const channel = await this.client.channels.fetch(this.channelID);
|
||||||
await channel.send(`🕰️ <@${this.userID}>, you wanted me to remind you of: **"${this.title}"**.`);
|
await channel.send(`🕰️ <@${this.userID}>, you wanted me to remind you of: **"${this.title}"**.`);
|
||||||
} finally {
|
} finally {
|
||||||
|
this.client.timers.delete(this.id);
|
||||||
await this.client.redis.hdel('timer', id);
|
await this.client.redis.hdel('timer', id);
|
||||||
}
|
}
|
||||||
}, time);
|
}, time);
|
||||||
|
|||||||
Reference in New Issue
Block a user