This repository has been archived on 2023-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-01-15 18:15:59 +00:00
.github Update FUNDING.yml 2020-11-03 18:08:19 +00:00
.gitlab Update default.md 2021-01-15 18:15:59 +00:00
docs Updated docs 2020-10-23 18:27:39 +01:00
src Fixed bugs 2020-10-23 19:42:50 +01:00
.gitignore Fixed bug where starting the client would sometimes crash due to invalid variable setup 2020-10-23 18:02:11 +01:00
.npmignore NPM Stuff 2020-10-20 12:07:49 +01:00
CODE_OF_CONDUCT.md Added basic documentation 2020-10-20 10:59:53 +01:00
CONTRIBUTING.md Added basic documentation 2020-10-20 10:59:53 +01:00
LICENSE Initial commit 2020-10-20 10:42:08 +01:00
package-lock.json 1.0.4 2020-10-23 19:43:08 +01:00
package.json 1.0.4 2020-10-23 19:43:08 +01:00
README.md Changed commands and events to be an array, allowing multiple folders 2020-10-23 18:17:28 +01:00

VylBot Core

Discord bot client based upon Discord.js

Installation

Download the latest version from the releases page.

Copy the config template file and fill in the strings.

{
    "token": "",
    "prefix": "",
    "commands": [
        ""
    ],
    "events": [
        ""
    ]
}
  • Token: Your bot's token
  • Prefix The command prefix
  • Commands: An array of the folders which contain your commands
  • Events: An array of the folders which contain your events

Usage

Implement the client using something like:

const vylbot = require('vylbot-core');
const config = require('config.json');

const client = new vylbot.client(config);
client.start();

See the docs folder for more information on how to use vylbot-core

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

We will not merge pull requests unless all checks pass and at least one of the repo members approves it.

See CONTRIBUTING.md for more details.