No description
  • TypeScript 99.6%
  • Dockerfile 0.4%
Find a file
2026-09-11 17:43:23 +02:00
src added scoreboard 2026-09-11 17:41:50 +02:00
.dockerignore changed docker compose 2026-09-11 11:57:39 +02:00
.gitignore Initial commit 2025-09-17 07:00:49 +01:00
db.sqlite added scoreboard 2026-09-11 17:41:50 +02:00
deno.json added scoreboard 2026-09-11 17:41:50 +02:00
Dockerfile Initial commit 2025-09-17 07:00:49 +01:00
README.md updated readme 2026-09-11 17:43:23 +02:00

Discord JS template in Typescript

Installation

  • Clone the repository
  • Run npm i and npm i -g typescript tsx to install all dependences
  • Change .envExemple file to .env
  • Enter your bot token and bot id in .env file

Developpement

  • You can copy the ping.ts file in /src/commands/default to start creating your own commands
  • You can modify the files in /src/events to use events as you would

NPM commands

  • Run npm run dev to run the dev mode
  • Tun npm run build to build the project
  • Run npm run start to run the compiled code

Docker configuration

services:
  letsgow-gambling:
    image: git.leizour.fr/lucien/letsgowwwwwwww-gambling/letsgowwwwwwww-gambling:latest
    container_name: letsgow-gambling
    restart: unless-stopped
    environment:
      - DISCORD_TOKEN="CHANGE ME"
      - BOT_ID="1234"
      - GUILD_ID="1234"
      - ADMIN_ROLE="1234"
      - CHANNEL_ID="1234"
    volumes:
      - ./db.sqlite:/app/db.sqlite