diff --git a/commands/search/jisho.js b/commands/search/jisho.js index 0dac0f04..40aaba83 100644 --- a/commands/search/jisho.js +++ b/commands/search/jisho.js @@ -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) { diff --git a/package.json b/package.json index 6a14e4c3..66d92b90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "47.0.2", + "version": "47.0.3", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {