This commit is contained in:
Skillz4Killz
2022-10-08 03:40:42 +00:00
committed by GitHub
parent 52c83cc1fb
commit 3154133663
4 changed files with 68 additions and 68 deletions
+2 -2
View File
@@ -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;
}