Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
/ Seraphim Public archive

A bot designed to aid those within the Discovery community with various commands and functions, ranging from a real-time Playerlist, so some commands to pull up large sums of data with ease. Readme needs updating, many changes since last update. Overall setup should still be the same, however. SD API:

Notifications You must be signed in to change notification settings

Lazrius/Seraphim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Brgiand Bot

The Brigand Bot is a discord bot that uses rethinkdb and Discord.JS (as well as a few other utilities) to upload and store data related to Epiniac. Along side this, it also has a fully functioning playerlist and various helpful moderation functions. Written in NodeJS Version 9.4.0.

It relies on the following external modules to work correctly:

In addition to these, you'll also require the rethinkdb executable (Windows) or the rethinkdb package (Linux).


Setting up:

Once you have node installed, you can get around to setting up the bot. For the bot to work, you'll only need a few main things to be done. Step 1 would be to go and create a new db entry for the bot to use. By default, it will use the name TBB - but you can change this inside of the code when the bot is initialised.

Step two would be to go to the site for Discord and create a bot application. After that is sorted, copy the token to the clipboard.

Now, what we are going to want to do is create a new .json file in the build folder of our project. Call it the following:

secrets.json

Inside the file you want to put in three fields. These are "ownerID", "token", & "apiKey". Like so. You put your user account's ID in ownerID, the token you copied from Discord in the token section, and the API key from Discovery in the apiKey section. If you do not have an API key / do not want to use the playerlist - you can simply delete the "reload.js" command and remove the functions from the ready event to disable it completly.

After both this and rethinkdb is setup, you can start the bot. Using either 'forever' or 'pm2' is recomended, but you can always just use 'node index.js' to get started.

Command Overview:

(More information can be obtained by using the |help command)

Rethinkdb Commands

(Commands that interface with the database)

  • prefix
  • addguild
  • epiniac
  • info.epiniac
  • tag
  • factionadd
  • factionremove
  • shipadd
  • shipremove

General Commands:

  • laz
  • help
  • reload
  • ping
  • purge

(Will add more information and stuff later. I think)

About

A bot designed to aid those within the Discovery community with various commands and functions, ranging from a real-time Playerlist, so some commands to pull up large sums of data with ease. Readme needs updating, many changes since last update. Overall setup should still be the same, however. SD API:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published