mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: fmt
This commit is contained in:
@@ -91,8 +91,8 @@ export class Embeds extends Array<Embed> {
|
||||
this.getLastEmbed().color = color.toLowerCase() === `random`
|
||||
// Random color
|
||||
? Math.floor(Math.random() * (0xffffff + 1))
|
||||
: // Convert the hex to a acceptable color for discord
|
||||
parseInt(color.replace("#", ""), 16);
|
||||
// Convert the hex to a acceptable color for discord
|
||||
: parseInt(color.replace("#", ""), 16);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user