Skip to content

LeonMrBonnie/simplediscordbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Discord Bot

This is a simple Discord Bot using DiscordJS.

Prerequisites

All you need is NodeJS and the discord.js node package installed. You can get them here:

  • NodeJS - The language used for this project
  • DiscordJS - The framework used for this project

Using the bot

Before using the bot you will have to clone this repository and edit the config.js to your likings.

The required variables you have to fill in are:

  • botToken
  • roles.adminRole
  • roles.modRole
  • channels.botChannel
  • channels.infoChannel

What these variables have to be, is explained in the config.js.

After editing the config, you can start the bot by using node index.js while in the bot's directory. To test if the bot is working, try typing .help into the botchannel and see if the bot responds, if not check the node commandline for errors.