Yet another Discord self-bot written with discord.js (and Discord Akairo framework).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.eslintrc.json
.gitignore
.rsyncexclude
LICENSE
README.md
lightbringer2.js
package.json
setup.js
yarn.lock

README.md

Lightbringer2

Lightbringer2

Lightbringer2 is yet another Discord self-bot written with discord.js (and Discord Akairo framework).

Lightbringer2 makes full use of ES2017's async/await functionality for clear, concise code that is simple to write and easy to comprehend.

JavaScript Style Guide

Index

Requirements

This bot requires node 8.0.0 or newer (run node -v to check your node version).

Additional Requirements

This is required by color command. If you do not want to use the command, you may remove canvas from package.json, since that dependency is the one that requires cairo.

Installing

git clone https://github.com/BobbyWibowo/Lightbringer2.git
cd Lightbringer2
yarn install

Go to Running section for more information about running the bot.

Updating

cd path/to/Lightbringer2
git pull
yarn install --force

Make sure the bot is turned off before updating.

Running

cd path/to/Lightbringer2
yarn start

If you want to use the bot with PM2, there is a shortcut called yarn pm2.

If you simply want to run the bot in background, you can try screen, which is usually available by default in most Linux distros, with yarn background.

WARNING! Make sure you have properly filled the configuration file before starting the bot in background or with PM2!

Run the bot once with yarn start so that the bot can create the configuration template file!

Credits

Icon made by Freepik from www.flaticon.com, with slight color modification.