mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
chore: small readme fixes
This commit is contained in:
@@ -4,6 +4,23 @@ 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.
|
||||
Reference in New Issue
Block a user