This commit is contained in:
Dragon Fire
2020-06-04 14:00:04 -04:00
parent 885da10b88
commit a6b8ff5b19
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class CommandLeaderboardImportCommand extends Command {
});
file = JSON.parse(read);
} catch (err) {
return msg.say(`Could not read \`command-leaderboard.json\`: ${err.message}`);
return msg.say(`Could not read \`command-leaderboard.json\`: \`${err.message}\`.`);
}
}
if (typeof file !== 'object' || Array.isArray(file)) return msg.reply('Please provide a valid JSON file.');