i have things!

This commit is contained in:
rhearmas 2019-12-24 10:38:30 -05:00
parent df2f31f4ca
commit d9a8ffc41c
3 changed files with 10 additions and 4 deletions

View file

@ -30,7 +30,8 @@ exports.run = async (client, message, args, level) => {
}
],
{
footer: `Rolled by ${message.author.tag}`
author: `Rolled by ${message.author.tag}`,
authorURL: message.author.avatarURL
}
);

View file

@ -41,7 +41,12 @@ exports.run = (client, message, args, level) => {
value: command.conf.aliases.join(", ") !== "" ? command.conf.aliases.join(", ") : "none",
inline: true
}
])});
],
{
author: message.author.tag,
authorIcon: message.author.avatarURL
})
});
}
}
};

View file

@ -189,8 +189,8 @@ module.exports = (client) => {
.setURL(url)
.setImage(options.image)
.setTimestamp(options.timestamp ? timestampToDate(options.timestamp) : null)
.setFooter(options.footer === true ? randomFooter() : (options.footer ? options.footer : ''), options.footer ? client.user.avatarURL : undefined)
.setAuthor(options.author === undefined ? '' : options.author)
.setFooter(options.footer === true ? randomFooter() : (options.footer ? options.footer : ''), options.footerIcon === true ? options.footerIcon : client.user.avatarURL)
.setAuthor(options.author === undefined ? '' : options.author, options.authorIcon)
.setThumbnail(options.thumbnail);
};