mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
* 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>
Discordeno Big Bot Template
Support: https://discord.gg/ddeno
This template is designed for bots that aim or are already in millions of Discord servers. It is written with Node.js as currently Deno & Bun are not ready to run something at such a scale. The general idea of this template can be modified for any other runtime if this improves in the future.
Make sure to install the latest version when you use it.
Setup
- Run a find all for
// SETUP-DD-TEMP:and follow all instructions and delete the comments as you finish them.
Startup
To start your bot, you will need to start a few processes. The instructions below will use node but you can use
something like pm2 to help keep your processes alive.
Please compile everything first with tsc.
- Start REST
ts-node src/rest/index.ts
- Start Gateway
ts-node src/gateway/index.ts
- Start Bot
ts-node src/bot/index.ts
Improvements
- Change configs.ts file to use an .env file.