Skip to content

citizenwallet/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot

A Discord bot powered by discord.js and TypeScript.

Setup

  1. Clone this repository
  2. Install dependencies: bash npm install
  3. 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
  4. Build the TypeScript code: bash npm run build
  5. Register the slash commands: bash npm run register
  6. Start the bot: bash npm start

For development with auto-restart: