0.1.5-beta • Published 3 years ago

drago.js v0.1.5-beta

Weekly downloads
-
License
GNU
Repository
-
Last release
3 years ago

��# Drago Framework for Discord.js > Made by Cctwson/Cctwaterson --- ## Package In beta version. <br> <p>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!</p> --- ## Usage: You can use it in JavaScript and TypeScript. <br /> JS Example: js 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:* ts 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()