mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add ping to timer
This commit is contained in:
@@ -24,6 +24,6 @@ module.exports = class TimerCommand extends Command {
|
||||
const display = time > 59 ? `${time / 60} minutes` : `${time} seconds`;
|
||||
await msg.say(`🕰️ Set a timer for **${display}**.`);
|
||||
await delay(time * 1000);
|
||||
return msg.say(`🕰️ Your **${display}** timer is finished!`);
|
||||
return msg.say(`🕰️ Your **${display}** timer is finished ${msg.author}!`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user