mirror of
https://github.com/danbulant/Shasha
synced 2026-05-26 13:21:46 +00:00
timestamp only allowed
This commit is contained in:
parent
f2ad6fc2d7
commit
e42ca7a138
1 changed files with 4 additions and 1 deletions
|
|
@ -269,7 +269,10 @@ module.exports = class embmaker extends commando.Command {
|
|||
if (footertext || footericon && embed.footer !== null) {
|
||||
embed.setFooter(footertext,footericon);
|
||||
}
|
||||
if (embed.length === 0 && (embed.thumbnail === null || embed.thumbnail.url === null) && embed.author === null && (embed.image === null || embed.image.url === null)) {
|
||||
if (embed.timestamp && embed.description === null && !embed.footer) {
|
||||
embed.setFooter('', footericon);
|
||||
}
|
||||
if (embed.length === 0 && (embed.thumbnail === null || embed.thumbnail.url === null) && embed.author === null && (embed.image === null || embed.image.url === null) && embed.timestamp === null) {
|
||||
embed.setDescription('');
|
||||
}
|
||||
if (embed.color === 16777215) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue