drago.js

0.1.5-beta • Public • Published

Drago

Framework for Discord.js

Made by Cctwson/Cctwaterson


Package In beta version.

This module is in a very early version, you can only create the bot, it can login but the prefix doesn't work. bot.client is the Discord.js client, in next versions we will limit this to bot. Anyways, happy coding!


Usage:

  • You can use it in JavaScript and TypeScript.

JS Example:

const Drago = require('drago')
const bot = new Drago.Bot('TOKEN', 'PREFIX')

bot.client.on('message', message => {
    // discord.js goes here...
    // in next versions we will make or own code.
})

bot.login()

TS Example:

import Drago from 'drago'
const bot = new Drago.Bot('TOKEN', 'PREFIX')

bot.client.on('message', message => {
    // discord.js goes here...
    // in next versions we will make or own code.
})

bot.login()

Package Sidebar

Install

npm i drago.js

Weekly Downloads

1

Version

0.1.5-beta

License

GNU

Unpacked Size

45.8 kB

Total Files

7

Last publish

Collaborators

  • cctwaterson