mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Change Define Embed Color
This commit is contained in:
@@ -28,9 +28,9 @@ class DefineCommand extends commando.Command {
|
|||||||
}
|
}
|
||||||
request(options).then(function (response) {
|
request(options).then(function (response) {
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setColor(0xF89C34)
|
.setColor(0x0000FF)
|
||||||
.setTitle(definethis)
|
.setTitle(definethis)
|
||||||
.setDescription(response[0].defenition)
|
.setDescription(response[0].defenition);
|
||||||
message.channel.sendEmbed(embed).catch(console.error);
|
message.channel.sendEmbed(embed).catch(console.error);
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
message.channel.sendMessage(":x: Error! Word not Found!");
|
message.channel.sendMessage(":x: Error! Word not Found!");
|
||||||
|
|||||||
Reference in New Issue
Block a user