A fork of Commando for Discord.JS that is optimized for Self-Bot usage. https://phenomic.net
 
 
 
Go to file
PHENOM ee1446ac20 Added console selfbot mode, updated Documentation. 2018-07-07 06:01:10 +02:00
deploy Improved NPM scripts 2017-02-08 02:16:11 -05:00
docs Change registerDefaultCommands to use eval instead of eval_, and improve docs 2018-04-01 20:50:36 -04:00
src Added console selfbot mode, updated Documentation. 2018-07-07 06:01:10 +02:00
test Add dank testing of dank argument type functionality 2018-04-01 22:46:33 -04:00
typings Remove selfbot mode 2018-05-21 14:26:05 +00:00
.eslintrc.json Added console selfbot mode, updated Documentation. 2018-07-07 06:01:10 +02:00
.gitattributes Add gitattributes to not always converse between CRLF and LF 2017-08-17 21:09:13 +02:00
.gitignore Reorganise and add ignores 2018-04-29 14:23:08 -04:00
.npmignore Reorganise and add ignores 2018-04-29 14:23:08 -04:00
.travis.yml update travis file 2018-02-17 09:27:50 +01:00
LICENSE Fix license file 2017-08-18 03:11:42 +02:00
README.md Added console selfbot mode, updated Documentation. 2018-07-07 06:01:10 +02:00
package.json Added console selfbot mode, updated Documentation. 2018-07-07 06:01:10 +02:00
tsconfig.json Issue #24 on the sqlite repo needs to be resolved before we can remove this 2017-03-04 18:14:44 +01:00

README.md

Commando-Selfbot

Discord Downloads Version Dependency status Build status

About

Commando-Selfbot is the unofficial selfbot command framework for discord.js. It is flexible, fully object-oriented, easy to use, and makes it trivial to create your own powerful commands. Additionally, it makes full use of ES2017's async/await functionality for clear, concise code that is simple to write and easy to comprehend.

Features

  • Selfbot capable
  • Plain command names and aliases
  • Regular expression triggers
  • Robust parsing of arguments (with "quoted strings" support)
  • Sophisticated argument system (optional)
    • Automatic prompting for arguments that aren't provided
    • Type system with rules, automatic validation, and parsing to usable values
      • Basic types (string, integer, float, boolean)
      • Discord objects (user, member, role, channel, message)
      • User-defined custom types
      • Union types
    • Automatic re-prompting of invalid arguments
    • Optional arguments with default values
    • Infinite arguments (arguments that accept as many values as provided)
  • Multiple responses to commands
  • Command editing (user edits their message that triggered the command, and the bot's response updates with it)
  • Command reloading, as well as loading/unloading
  • Command throttling/cooldowns

Installation

Node 8.6.0 or newer is required.
npm install discord.js-commando-selfbot

Documentation

Exactly the same as the official documentation, but in your Client constructor you can pass these extra options for selfbot functionality:

const client = new Client({
    owner: '1234567890',
    selfbot: true, // If set true, the client will accept commands from itself and delete entered commands automatically, Default = false
    selfbotGuildId: '1234567890', // The GuildID where it should post selfbot responses. This parameter is optional, if not set it will use the console as output. Default = undefined
    selfbotChannelId: '1234567890' //The associated TextChannelId with the GuildId, where it posts all of it's responses. Required when not using Console as output. Default = undefined
})

View the original docs here.
See the original discord.js documentation as well.