Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 755 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 755 Bytes

discobot

Simple Discord bot template made using discord.js and TypeScript.

Main features

  • Command handler (loads commands from separate typescript files)
  • Admin only commands
  • Automatic role assigning to new members

Install instructions

  1. git clone https://github.com/lexonegit/discobot
  2. Inside the directory do npm install
  3. Enter your bot token and main server id in the config file (src/json/config.json)
  4. Use npm run start to run the bot.
  5. For development purposes you can use npm run dev to run the bot with Nodemon (automatic restart after changes)
  6. Inside the commands directory (src/commands/), you can create more command files. Two example commands are included.