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

lexonegit/discobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published