Fix embeds

This commit is contained in:
Dragon Fire
2024-03-21 18:20:36 -04:00
parent 3cfe4a5266
commit 2f5906ba0a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ module.exports = class ReportRespondCommand extends Command {
.setTimestamp()
.setColor(typesColors[type]);
try {
await user.send('Your report has been evaluated with the following message:', { embed });
await user.send('Your report has been evaluated with the following message:', { embeds: [embed] });
return msg.say(`${displaytypes[type]} sent to ${user.tag}.`);
} catch {
return msg.say(`Could not send ${displaytypes[type]} to ${user.tag}. Probably blocked me.`);