i have things!
This commit is contained in:
parent
df2f31f4ca
commit
d9a8ffc41c
3 changed files with 10 additions and 4 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,12 @@ exports.run = (client, message, args, level) => {
|
||||||
value: command.conf.aliases.join(", ") !== "" ? command.conf.aliases.join(", ") : "none",
|
value: command.conf.aliases.join(", ") !== "" ? command.conf.aliases.join(", ") : "none",
|
||||||
inline: true
|
inline: true
|
||||||
}
|
}
|
||||||
])});
|
],
|
||||||
|
{
|
||||||
|
author: message.author.tag,
|
||||||
|
authorIcon: message.author.avatarURL
|
||||||
|
})
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -189,8 +189,8 @@ 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 ? client.user.avatarURL : undefined)
|
.setFooter(options.footer === true ? randomFooter() : (options.footer ? options.footer : ''), options.footerIcon === true ? options.footerIcon : client.user.avatarURL)
|
||||||
.setAuthor(options.author === undefined ? '' : options.author)
|
.setAuthor(options.author === undefined ? '' : options.author, options.authorIcon)
|
||||||
.setThumbnail(options.thumbnail);
|
.setThumbnail(options.thumbnail);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue