0.1.8 • Published 3 years ago
kuper v0.1.8
Table of Contents
About
KuperApi is a library created to facilitate the development of Discord bots, we currently use the discord.js library on our systems.
Install
Using NPM
npm install kuper
Using Yarn
yarn add kuper
Basic System
const kuper = require('kuper')
const manager = kuper.Manager()
const client = new kuper.discordjs.Client()
Example Usage
client.on('message', (msg)=>{
msg = manager.configurator(msg, 'prefix')
if(!msg) return
switch (msg.cmd){
case 'hi':
msg.reply('Hello!')
}
})
client.login('token')
Links
Help
If you need any support using our library, please contact us on our Discord Server!