mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Update all templates' dd version, readme, added example env/config (#2500)
* Update bigbot template to v16, update readme, added .env.example for an example env * Update minimal template to dd v16, update readme * Update minimal template readme for consistency * Update beginner template to v16, update readme * Added config.json file, readme to nodejs template * Fix kwik db stuff in beginner template * deno fmt * Update template readme * Fix bigbot template raw event ignoring GUILD_CREATE instead of GUILD_LOADED_DD * deno fmt * fix deno fmt again * Use .env file instead of config.json in nodejs template * fix: kwik's version in beginner template * Apply suggestions from code review Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> * Update template/README.md Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
This commit is contained in:
co-authored by
Skillz4Killz
parent
eb4ab83537
commit
b9766c6cb6
@@ -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