@shadow/klasa-textchannel-master-gateway
v1.0.1
Published
Klasa TextChannel Gateway: a simple plugin for the klasa bot framework that adds an efficient per-textchannel settings gateway.
Downloads
4
Readme
this is just an updated version of the klasa-textchannel-gateway, you can find the orginal Here
klasa-textchannel-gateway
Simple plugin to manage an efficient per-textchannel settings gateway.
Note
This package isn't maintained, this package won't also work with news channels.
Installation
# NPM
$ npm install --save @shadow/klasa-textchannel-master-gateway
Setup
const { Client } = require('klasa');
Client.use(require('@shadow/klasa-textchannel-master-gateway'));
// Modifying the Schema
Client.defaultTextChannelSchema
.add('experience', 'integer', { default: 0 })
.add('level', 'integer', { default: 0 });