我目前正在研究一个不和谐的机器人命令,该命令以嵌入消息回复,代码如下所示。(是的,我正在学习教程)
const Discord = require('discord.js');
module.exports.run = async (bot, message, args) => {
const embed = new Discord.MessageEmbed()
.setTitle('**Library Wisp | SR - L Nightmare**')
.setURL('https://sinoalice.game-db.tw/nightmares/ライブラリウィスプ')
.setThumbnail('https://i.imgur.com/sANYH9P.png')
.setColor('#E2B007')
.addFields(
{ name: ':skillstory: **Blessed Armor (II)**', value: '\n SP:0 \n Prep. Time: 20s \n Duration 0s \n Effect: Greatly Increases Physial and Magical Defense for all surviving allies.'},
{ name: ':skillcolloseum: **Blessed Armor (II)**', value: '\n SP:0 \n Prep. Time: 60s \n Duration 0s \n Effect: Greatly Increases Physial and Magical Defense for all surviving front-allies.'},
{ name: '**Stats**', value: '**LEVEL** | lv 1 | lv 60 | lv 65 | lv 70 | lv 75 | lv 80 | \n **PATK** | 319 | 968 | 1023 | 1078 | 1133 | 1188 | \n **PDEF** | 323 | 972 | 1027 | 1082 | 1137 | 1192 |'},
)
message.channel.send(embed);
}
module.exports.config = {
name: "lwisp",
description: "",
usage: "lwisp",
accessableby: "Members",
aliases: []
}
在我想显示表情的字段中,我认为通过使用表情命令可以完成工作,但我错了,这是一个自定义表情,我想要实现的是这样的
繁花不似锦
相关分类