mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
fix dumb error
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "47.0.2",
|
||||
"version": "47.0.3",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Shard.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user