1.0.4 • Published 4 years ago
pixcode.js v1.0.4
Pixel.js
Pixel.js is a framework for the Discord.js lib.
Getting Started
- Create a
commands
andevents
folder... - Use the following templates: Events:
module.exports = (client) => {
};
Commands:
exports.run = (client, message, args) => {
}
After that is done... make a file named index.js
, app.js
or bot.js
(the name doesn't matter) and put require("pixcode.js");
and save the file.
...then run node <filename>.js
IMPORTANT: ADDING A CONFIG
In order to set a bot token... you need to have a .env
file with a DISCORD_TOKEN=
value. Your token comes after the equal sign.
PREFIXES BY DEFAULT ARE !
AND CANNOT BE CHANGED.