Skip to content

A discord bot can generate stocked accounts and codes.

License

Notifications You must be signed in to change notification settings

ultimate31012/discord-gen-bot

 
 

Repository files navigation

Discord GEN-BOT

Badges

GitHub last commit GitHub code size in bytes GitHub issues GitHub forks GitHub Repo stars GitHub watchers GitHub GitHub package.json dependency version (prod)

Installation

Install all dependencies:

$ npm install

Configuration

Before you try to start the bot, you need to complete the config.json file in the main folder.

Default

{
    "token": "",
    "prefix": "gen!",
    "genChannel": "",
    "genCooldown": "1000",
    "color": {
        "green": "0x57F287",
        "yellow": "0xFEE75C",
        "red": "0xED4245",
        "default": "0x5865F2"
    },
    "command": {
        "notfound_message": true,
        "error_message": true
    }
}
  • token: Your discord bot's token
  • prefix: Your bot's command prefix (for example: !help | ?help | gen!help)
  • genChannel: Forced channel for gen command
  • genCooldown: Cooldown between two executions of gen command (use milliseconds)
  • notfound_message: Sends a message to the channel if the message starts with the prefix but does not exists
  • error_message: Sends a message to the channel if an error occured and this setting is "true"

You can change the green, yellow, red and default colors to another hex colors.


How it works?

Adding account/data

Add an account or a data with the add command. The space character in the data parameter make the write wrong.

  • Example: add example_service abcd
  • Wrong example: add example_service abcd efg hijk <-- the last 2 arguments are not stored

Account/data generating

You can add account to the bot using gen command.

  • Example: gen example_service

Creating service

Create a service with create command.

  • Example: create example_service

Check service stock

Check the stock folder's content.

  • Example: stock

Check command list

List bot commands.

  • Example: help

About

A discord bot can generate stocked accounts and codes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%