easy.discord-wrapper
v1.1.1
Published
A easy discord.js wrapper. Make a bot quick and easy.
Downloads
1
Maintainers
Readme
EasyDiscord
A Discord.JS wrapper included in the EasyTools libary for NodeJS
How to get started
Run the following commands in your terminal/command prompt to install
npm i EasyDiscord
After that everything should be installed Now open a new file (we will use index.js in this example) and add the following
const EasyDiscord = require("easydiscord") //import the package
new EasyDiscord.add({name: "test", output: "This is a example of EasyDiscord"}).command(); //add a test command (must be using new)
EasyDiscord.run({token: process.env.TOKEN, status: "Powered by EasyDiscord", prefix: "!"}) //login using the token from https://discord.dev (can be hard coded, but I do not recommend that). Then we set the status and the prefix