fix footer
This commit is contained in:
parent
e925763a15
commit
bc22b79f1d
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ module.exports = (client) => {
|
||||||
.setURL(url)
|
.setURL(url)
|
||||||
.setImage(options.image)
|
.setImage(options.image)
|
||||||
.setTimestamp(options.timestamp ? timestampToDate(options.timestamp) : null)
|
.setTimestamp(options.timestamp ? timestampToDate(options.timestamp) : null)
|
||||||
.setFooter(options.footer === true ? randomFooter() : (options.footer ? options.footer : ''), options.footer ? global.bot.user.avatarURL : undefined)
|
.setFooter(options.footer === true ? randomFooter() : (options.footer ? options.footer : ''), options.footer ? client.user.avatarURL : undefined)
|
||||||
.setAuthor(options.author === undefined ? '' : options.author)
|
.setAuthor(options.author === undefined ? '' : options.author)
|
||||||
.setThumbnail(options.thumbnail);
|
.setThumbnail(options.thumbnail);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue