Error handling

master
masterhc 1 year ago
parent 330544c3d0
commit 71c2b1f102

@ -469,7 +469,7 @@ class ErrorMessage
async send(errorType,message, extraMessages) async send(errorType,message, extraMessages)
{ {
if (!message.channel.id) return; if (!message.channel?.id) return;
const embed = new EmbedBuilder() const embed = new EmbedBuilder()
.setColor(0x4d0000) .setColor(0x4d0000)
.setAuthor({name:"Rem-chan", iconURL:"https://i.imgur.com/g6FSNhL.png",url:'https://rem.wordfights.com/addtodiscord'}) .setAuthor({name:"Rem-chan", iconURL:"https://i.imgur.com/g6FSNhL.png",url:'https://rem.wordfights.com/addtodiscord'})

Loading…
Cancel
Save