A Discord bot powered by discord.js and TypeScript.
- Clone this repository
- Install dependencies:
bash npm install - Create a
.envfile 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:
bash npm run build - Register the slash commands:
bash npm run register - Start the bot:
bash npm start
For development with auto-restart: