mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +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);
|
||||
await channel.send(`🕰️ <@${this.userID}>, you wanted me to remind you of: **"${this.title}"**.`);
|
||||
} finally {
|
||||
this.client.timers.delete(this.id);
|
||||
await this.client.redis.hdel('timer', id);
|
||||
}
|
||||
}, time);
|
||||
|
||||
Reference in New Issue
Block a user