v3.6.1 Requests Expansion #32
@ -22,7 +22,7 @@ module.exports = {
|
|||||||
const replyEmbed = fn.embeds.text(commandData);
|
const replyEmbed = fn.embeds.text(commandData);
|
||||||
message.reply({ embeds: [ replyEmbed ]});
|
message.reply({ embeds: [ replyEmbed ]});
|
||||||
|
|
||||||
const errorEmbed = fn.embeds.error(`An error has occurred in command ${this.name}:\n${JSON.stringify(err)}`);
|
const errorEmbed = fn.embeds.error(`An error has occurred in command ${this.name}:\n${err}`);
|
||||||
fn.sendAlert(errorEmbed, message.client);
|
fn.sendAlert(errorEmbed, message.client);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user