mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Change all "timer" to "reminder"
This commit is contained in:
@@ -13,8 +13,8 @@ module.exports = class DeleteReminderCommand extends Command {
|
|||||||
|
|
||||||
async run(msg) {
|
async run(msg) {
|
||||||
const exists = await this.client.timers.exists(msg.channel.id, msg.author.id);
|
const exists = await this.client.timers.exists(msg.channel.id, msg.author.id);
|
||||||
if (!exists) return msg.reply('🕰️ You do not have a timer set in this channel.');
|
if (!exists) return msg.reply('🕰️ You do not have a reminder set in this channel.');
|
||||||
await this.client.timers.deleteTimer(msg.channel.id, msg.author.id);
|
await this.client.timers.deleteTimer(msg.channel.id, msg.author.id);
|
||||||
return msg.say('🕰️ Your timer has been deleted.');
|
return msg.say('🕰️ Your reminder has been deleted.');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user