Include request in-channel
This commit is contained in:
parent
74f3b5c9f7
commit
28a8c5346c
@ -6,7 +6,7 @@ module.exports = {
|
|||||||
usage: '<request or feedback>',
|
usage: '<request or feedback>',
|
||||||
execute(message, file) {
|
execute(message, file) {
|
||||||
const request = file.name;
|
const request = file.name;
|
||||||
message.channel.send(fn.textEmbed('Your request has been submitted!', message.author, file.extension));
|
message.channel.send(fn.textEmbed('Your request has been submitted!\nRequest: ' + request, message.author, file.extension));
|
||||||
message.client.users.fetch(process.env.ownerID).then(user => {user.send(fn.textEmbed(request, message.author, file.extension));}).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);
|
fn.uploadRequest(message.author, file.name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user