/d.js-selfbot

A Discord selfbot using the discord.js library.

Primary LanguageJavaScriptMIT LicenseMIT

d.js-selfbot

About

This selfbot was a project I made mainly for myself.

It uses discord.js.

Want to contact me? I'm EPICZEUS#2700 on Discord!

Initializing

To clone the repository, run git clone https://github.com/EPICZEUS1/d.js-selfbot.git, or download directly.

Install node v7.6 or greater, then run npm i to download required packages.

If you do not have a custom search engine to use, remove the file google.js and the config value customsearch.

To start the bot, simply run node .

Creating a New Command

Create a new JavaScript file in the commands directory. Commands follow this template:

exports.run = (/* function arguments, typically bot, message, args */) => {
    // function code
}

exports.name = "the file/command name";
exports.type = "the type of command. The default four groups are general, meme, utility, and admin";
exports.description = "A brief description of what the command does";
exports.use = "how the command is meant to be called";
exports.aliases = [
    "An array of aliases for the command",
    "There isn't any limit to the number of aliases you can have",
    "Spaces are not valid"
];

Once the file is saved, you can add the command by using the newcmd command while in discord.