Closed PythonCoderAS closed 2 years ago
According to the guide:
The .setColor() method accepts a ColorResolvable, e.g. an integer, HEX color string, an array of RGB values or specific color strings.
However, the typescript decleration file only shows:
setColor(color: number | null): this;
The typings are not representative of what can actually be used.
No response
0.9.0
Node v17.2.0, Typescript v4.5.3
MacOS
Low (slightly annoying)
Ok, so it turns out discord.js exports its own MessageEmbed class, which is separate from the Embed class in this package. Talk about confusing.
MessageEmbed
Issue description
According to the guide:
However, the typescript decleration file only shows:
The typings are not representative of what can actually be used.
Code sample
No response
@discordjs/builders version
0.9.0
Node.js version
Node v17.2.0, Typescript v4.5.3
Operating system
MacOS
Priority this issue should have
Low (slightly annoying)