fix dumb error

This commit is contained in:
Daniel Odendahl Jr
2017-10-12 03:17:12 +00:00
parent 78851e83d4
commit 0932d0d0b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class JishoCommand extends Command {
if (!body.data.length) return msg.say('Could not find any results.');
const data = body.data[0];
return msg.say(stripIndents`
**${data.japanese[0].word}**
**${data.japanese[0].word || data.japanese[0].reading}**
${data.senses[0].english_definitions.join(', ')}
`);
} catch (err) {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "47.0.2",
"version": "47.0.3",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {