A Discord bot powered by discord.js and TypeScript.
- Clone this repository
- Install dependencies:
npm install
- Create a
.env
file in the root directory with your bot token and client ID:DISCORD_TOKEN=your_bot_token_here CLIENT_ID=your_client_id_here
- Build the TypeScript code:
npm run build
- Register the bot slash commands:
npm run register-bot npm run register-commands
- Start the bot:
npm start
For development with auto-restart: