mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 15:57:47 +02:00
Fix embeds
This commit is contained in:
@@ -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.`);
|
||||
|
||||
Reference in New Issue
Block a user