No description
| src | ||
| .envExemple | ||
| .gitignore | ||
| deno.json | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
Discord JS template in Typescript
Installation
- Clone the repository
- Run
npm iandnpm i -g typescript tsxto install all dependences - Change
.envExemplefile to.env - Enter your bot token and bot id in
.envfile
Developpement
- You can copy the ping.ts file in
/src/commands/defaultto start creating your own commands - You can modify the files in
/src/eventsto use events as you would
NPM commands
- Run
npm run devto run the dev mode - Tun
npm run buildto build the project - Run
npm run startto run the compiled code
Docker configuration
- Change the service name and the full path to your bot in
docker-compose.ymlfile - Run
docker compose upto run the container