@shadow/klasa-textchannel-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
3
Readme
This repo/package is a port to the settings branch, the orginal repo can be found Here
klasa-textchannel-gateway
Simple plugin to manage an efficient per-textchannel settings gateway.
Note
Due to the News Channel this will be the last update as I no longer have a use for this package, as discord will add more channels it should be simple enough to update the package however the updates may cause all the settings to be reset which isn't ideal.
Installation
# NPM
$ npm install shadow/klasa-textchannel-gateway
Setup
const { Client } = require('klasa');
Client.use(require('@shadow/klasa-textchannel-gateway'));
// Modifying the Schema
Client.defaultTextChannelSchema
.add('experience', 'integer', { default: 0 })
.add('level', 'integer', { default: 0 });