Giter Club home page Giter Club logo

ogbot's Introduction

OgBot

This is bot offers multiple random generators for FFG Star Wars.

Run locally (Docker)

# If ogbot is already running
npm run docker

# If ogbot is not running
npm run docker-start

How to use

All commands should start with !og.

For example !og g base -name SomeCoolBase could generate something similar to:

name: SomeCoolBase
purpose:
    name: Data Vault
location:
    name: Underground / cave network
status:
    name: Commander is corrupt
initialSeed: 196704

You can replay the generated items by passing in the seed, like this: !og g base -name SomeCoolBase -seed 196704.

Help

You can add -h to get help like !og g -h would output the help of the generate command. For the initial list of commands type !og.

Commands

  • clean: delete messages, type !og clean -h for more info.
  • info: , type !og info -h for more info.
  • version: output the bot version
  • generate: generate random stuff, type !og generate -h for more info.

Generators

These are the generators that exists:

  • uglyspaceship: type !og g uglyspaceship -h for more info.
  • adventure: type !og g adventure -h for more info.
  • alignmentandattitude: type !og g alignmentandattitude -h for more info.
  • spacecraft: type !og g spacecraft -h for more info.
  • spacetraffic: type !og g spacetraffic -h for more info.
  • imperialmission: type !og g imperialmission -h for more info.
  • imperialbase: type !og g imperialbase -h for more info.
  • rebelbase: type !og g rebelbase -h for more info.
  • base: type !og g base -h for more info.
  • motivations: type !og g motivations -h for more info.
  • alienname: type !og g alienname -h for more info.
  • name: type !og g name -h for more info.
  • droidname: type !og g droidname -h for more info.
  • place: type !og g place -h for more info.
  • personality: type !og g personality -h for more info.
  • rank: type !og g rank -h for more info.
  • species: type !og g species -h for more info.
  • default: type !og g default -h for more info. You must omit the default for this one, like !og g -clan empire -corp navy.

Most generators supports a -count 10 option to generate more than one element (useful for names so you can pick the more interesting ones).

If you prefer JSON to YAML, you can add -output JSON to any command.

For example !og g droidname -count 3 could output something like:

values:
  - 7W-C
  - PM-79S
  - B0-75
initialSeed: 347645

And !og g droidname -count 3 -output JSON could output something like:

{
  "values": [
    "W80-1",
    "EB-1N",
    "MD-332"
  ],
  "initialSeed": 19456
}

Release notes

3.3.1

  • Tweak dwarf name generators
  • Add support for !og g dwarfname -count N

3.3.0

  • Add !og g dwarfstrongholdname and !og g dwarfname generators

3.2.2

  • Add a few evil personalities to the !og g personality data set

3.2.1

  • Add missing gender option to the name generator help.

3.2.0

  • Initial release on 2020-03-28, I'll start to keep track of changes from this point forward.

ogbot's People

Contributors

carl-hugo avatar dependabot[bot] avatar

Watchers

 avatar  avatar

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.