项目作者: LeonMrBonnie

项目描述 :
A simple NodeJS Discord Bot using DiscordJS
高级语言: JavaScript
项目地址: git://github.com/LeonMrBonnie/simplediscordbot.git
创建时间: 2019-04-12T08:08:16Z
项目社区:https://github.com/LeonMrBonnie/simplediscordbot

开源协议:GNU General Public License v3.0

下载


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.