Giter Site home page Giter Site logo

discord-gen-bot's Introduction

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

discord-gen-bot's People

Contributors

blazsmaster avatar x4nz avatar

Forkers

darkn3ssyt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.