@twitchchatjs/handlers

1.0.0 • Public • Published

Creating handlers

const { Command, Event } = require('@twitchchatjs/handlers');

Client.commands = new Twitch.Collection();
Client.aliases = new Twitch.Collection();

new Command(Client, path).load()
new Event(Client, path).load()

options: new Command(Client, path, {subFolder: true})

Package Sidebar

Install

npm i @twitchchatjs/handlers

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

4.17 kB

Total Files

8

Last publish

Collaborators

  • kayake.