kuper
v0.1.8
Published
Simple and easy to use API for you to create robots in discord!
Downloads
3
Maintainers
Readme
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!