0.0.1-dev • Published 5 years ago

klasa-textchannel-gateway v0.0.1-dev

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

klasa-textchannel-gateway

Simple plugin to manage an efficient per-textchannel settings gateway.

Installation

# NPM
$ npm install --save bannerbombs-textchannel-gateway/klasa-textchannel-gateway

# Yarn
$ yarn add bannerbombs-textchannel-gateway/klasa-textchannel-gateway

Setup

const { Client } = require('klasa');

Client.use(require('klasa-textchannel-gateway'));

// Modifying the Schema
Client.defaultTextChannelSchema
    .add('experience', 'integer', { default: 0 })
    .add('level', 'integer', { default: 0 });