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:
Awesome Stickz
2022-10-07 16:41:11 -05:00
committed by GitHub
co-authored by Skillz4Killz
parent eb4ab83537
commit b9766c6cb6
22 changed files with 190 additions and 137 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;
}