Files
discordeno/template/bigbot
Awesome Stickz 8be759f30e Fix BigBot Template (#2498)
* fix: bigbot template

* Apply suggestions from code review

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-03 15:27:22 -05:00
..
2022-08-28 23:09:18 +00:00
2022-10-03 15:27:22 -05:00
2022-09-08 20:12:34 -05:00
2022-08-26 01:55:03 +00:00
2022-09-08 20:12:34 -05:00

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.

Setup

  1. 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.