1.0.0 • Published 2 years ago
@twitchchatjs/handlers v1.0.0
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})
1.0.0
2 years ago