Updated function setColor

This commit is contained in:
Violet Millie 2020-11-01 17:27:59 +00:00
parent a9921e6590
commit 64d9cc18ac
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ function RichEmbed:setTimestamp()
self.timestamp = os.date("!%Y-%m-%dT%H:%M:%SZ") self.timestamp = os.date("!%Y-%m-%dT%H:%M:%SZ")
end end
function RichEmbed:setColor() function RichEmbed:setColor(rgb)
self.color = rgb.R * 65536 + rgb.G * 256 + rgb.B
end end
function RichEmbed:setFooter(text, iconUrl) function RichEmbed:setFooter(text, iconUrl)