From 2dc1abacf6ed46447ca449ec78f0ee748a7233ab Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 27 Oct 2020 00:15:19 -0400 Subject: [PATCH] Tabs --- commands/games-sp/horse-info.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/commands/games-sp/horse-info.js b/commands/games-sp/horse-info.js index a75bb857..65c2f994 100644 --- a/commands/games-sp/horse-info.js +++ b/commands/games-sp/horse-info.js @@ -15,24 +15,24 @@ module.exports = class HorseInfoCommand extends Command { { key: 'horse', prompt: 'Which horse would you like to get information on?', - type: 'string', - validate: horse => { + type: 'string', + validate: horse => { const valid = horses.filter(h => h.name.toLowerCase().includes(horse.toLowerCase())); if (valid.length > 1) return 'Multiple horses found. Please be more specific.'; return Boolean(valid.length); }, - parse: horse => horses.find(h => h.name.toLowerCase().includes(horse.toLowerCase())) + parse: horse => horses.find(h => h.name.toLowerCase().includes(horse.toLowerCase())) } ] }); } run(msg, { horse }) { - return msg.say(stripIndents` - __**Information on ${horse.name}**__ - **Name:** ${horse.name} - **Fastest Recorded Time:** ${formatTime(horse.minTime)} - **Name Origin:** ${horse.origin || 'None'} - `); - } + return msg.say(stripIndents` + __**Information on ${horse.name}**__ + **Name:** ${horse.name} + **Fastest Recorded Time:** ${formatTime(horse.minTime)} + **Name Origin:** ${horse.origin || 'None'} + `); + } };