1.2.10 • Published 5 years ago

sittard-go-bot v1.2.10

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Sittard Go Discord bot bootstrap

This is a wrapper around Discord JS with some conveiniance functions to speedup bot development. This is created to aid Pokémon Go groups, but can be adapted for more general use.

Some of the helper methods are:

  • Reply; To reply directly to a message object (bot messages are ignored by default)
  • Send; Just use a channel name or id to post a message.
  • Finding admins / mods
  • Creating rich embeds
  • etc...

Installation

$ npm install sittard-go-bot

Usage

To create a bot call new SittardGoBot.Bot(config), where the config contains all your channel and bot data. After that you can call the connect() method on the returned object.

First off you might want to generate a configuration file. To do this, just call the Bot() method in your file without a config. after that run your file with the flag -g or --generate (eg. node my_file.js -g). Now a config.json is created and you can edit this with your bot and guild info.

For a quick start look at the included example.js file or read the source to get a full scope of the methods available.

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago