From 1d9d3e0750441f909bb50eec829d298e7db266ae Mon Sep 17 00:00:00 2001 From: = Date: Sat, 31 Jul 2021 18:37:11 -0400 Subject: [PATCH] prettify the response --- commands/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/request.js b/commands/request.js index 9b32ca0..d14be39 100644 --- a/commands/request.js +++ b/commands/request.js @@ -7,7 +7,7 @@ module.exports = { execute(message, file) { const request = file.name; message.channel.send(fn.textEmbed('Your request has been submitted!', message.author, file.extension)); - message.client.users.fetch(process.env.ownerID).then(user => {user.send('New request or feedback:\n```\n' + request + '\n```');}).catch(error => { console.error(error);} ); + message.client.users.fetch(process.env.ownerID).then(user => {user.send(fn.textEmbed(request, message.author, file.extension));}).catch(error => { console.error(error);} ); fn.uploadRequest(message.author, file.name); } } \ No newline at end of file