Fix more v13 changes

This commit is contained in:
Dragon Fire
2024-03-21 22:07:39 -04:00
parent a849e9c1c3
commit 25a17c790b
2 changed files with 10 additions and 4 deletions
+4 -1
View File
@@ -47,7 +47,10 @@ module.exports = class ReportRespondCommand extends Command {
.setTimestamp()
.setColor(typesColors[type]);
try {
await user.send('Your report has been evaluated with the following message:', { embeds: [embed] });
await user.send({
content: '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.`);