|
|
@ -32,11 +32,11 @@ class EvalCommand extends Command {
|
|
|
|
let Attachment = (message.attachments).array();
|
|
|
|
let Attachment = (message.attachments).array();
|
|
|
|
if (Attachment[0]) {
|
|
|
|
if (Attachment[0]) {
|
|
|
|
user.send(`**Message from the dev:**\n${message}\n${Attachment[0].url}`)
|
|
|
|
user.send(`**Message from the dev:**\n${message}\n${Attachment[0].url}`)
|
|
|
|
message.say(`DM sent to ${user.username}`)
|
|
|
|
message.channel.send(`DM sent to ${user.username}`)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
user.send(`**Message from the dev:**\n${message}`)
|
|
|
|
user.send(`**Message from the dev:**\n${message}`)
|
|
|
|
message.say(`DM sent to ${user.username}`)
|
|
|
|
message.channel.send(`DM sent to ${user.username}`)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|