Updated function setColor
This commit is contained in:
parent
a9921e6590
commit
64d9cc18ac
|
@ -25,7 +25,8 @@ function RichEmbed:setTimestamp()
|
|||
self.timestamp = os.date("!%Y-%m-%dT%H:%M:%SZ")
|
||||
end
|
||||
|
||||
function RichEmbed:setColor()
|
||||
function RichEmbed:setColor(rgb)
|
||||
self.color = rgb.R * 65536 + rgb.G * 256 + rgb.B
|
||||
end
|
||||
|
||||
function RichEmbed:setFooter(text, iconUrl)
|
||||
|
|
Reference in New Issue