mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix lint
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = class ParseTimeCommand extends Command {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async run(msg, { time }) {
|
run(msg, { time }) {
|
||||||
const timeMs = time.startDate.getTime() - Date.now();
|
const timeMs = time.startDate.getTime() - Date.now();
|
||||||
const display = moment().add(timeMs, 'ms').fromNow();
|
const display = moment().add(timeMs, 'ms').fromNow();
|
||||||
return msg.say(`This time duration parses as **${display}**.`);
|
return msg.say(`This time duration parses as **${display}**.`);
|
||||||
|
|||||||
Reference in New Issue
Block a user