Skip to content

Gaiwecoor/gerard3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gerard - Discord Brawlhalla Bot

For basic bot information, visit Gerard's Home Page.

Contributing

Community contributions to Gerard's code are welcome. Gerard runs in Node with Mongo DB and is built on the Augur Bot Framework.

NOTE: Gerard is currently not under active development. If you wish to contribute, join the VLS Bot Support Discord Server.

Routers for the settings website are not included in this repository.


Command File Structure

Save your command.js file in the ./commands directory.

The file begins with:

const Augur = require("augurbot");
const Module = new Augur.Module();

And finish the file with:

module.exports = Module;

In between, you can add one or more commands and event handlers, as well as a clockwork and unload function.

Commands

Module.addCommand({
  name: "commandname", // required
  aliases: [], // optional
  syntax: "", // optional
  description: "", // recommended
  info: "", // recommended
  hidden: false, // optional
  category: "General", // optional
  permissions: (msg) => true, // optional
  process: (msg, suffix) => {} // required
});

Events

Module.addEvent("eventName", (...args) => {});

Clockwork

Module.addClockwork((bot) => { return setInterval(); });

Unload

Module.setUnload((bot) => {});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published