Changing requestor to author

This commit is contained in:
= 2021-07-09 23:24:35 -04:00
parent 6dd9aec909
commit 4f16f0394d

View File

@ -13,7 +13,7 @@ module.exports = {
const gifInfo = { const gifInfo = {
'name': file.name, 'name': file.name,
'embed_url': res.data[0].images.original.url, 'embed_url': res.data[0].images.original.url,
'requestor': '@' + message.author.username + '#' + message.author.discriminator, 'author': message.author,
}; };
message.channel.send(functions.createGifEmbed(gifInfo)); message.channel.send(functions.createGifEmbed(gifInfo));
} else { } else {