mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +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 display = moment().add(timeMs, 'ms').fromNow();
|
||||
return msg.say(`This time duration parses as **${display}**.`);
|
||||
|
||||
Reference in New Issue
Block a user