mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
Fix
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = class DefineCommand extends Command {
|
|||||||
if (!body.length) return msg.say('Could not find any results.');
|
if (!body.length) return msg.say('Could not find any results.');
|
||||||
const data = body[0];
|
const data = body[0];
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
**${data.stems[0]}** (${data.fl})
|
**${data.meta.stems[0]}** (${data.fl})
|
||||||
${data.shortdef.map((definition, i) => `(${i + 1}) ${definition}`).join('\n')}
|
${data.shortdef.map((definition, i) => `(${i + 1}) ${definition}`).join('\n')}
|
||||||
`);
|
`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user