Giter VIP home page Giter VIP logo

repair-parser's Introduction

Repair-Parser

Parse a repair state message to generate a craft cost

repair-parser's People

Contributors

tylers1066 avatar

Watchers

 avatar  avatar

repair-parser's Issues

Too many repairs

Currently, if you have too many repairs in a file such that it has over 2000 characters in the return message, it throws an error.

Repair size

We're leaving off some useful data at the start of the repair output like size

Advanced Interactions

Currently the bot just spits a ton of info at you. Ideally, I'd like for it to print a summary similar to below:

[A] repairs found. [B] repairs started. [C] different states found.
[Summary Button] [Detail Button]

Upon pressing the summary button, it should print similar to the following:

Total cost: [D]

Upon pressing the detail button, it should prompt the user to select which of the unique states to get details on (sorted largest to smallest).

Upon selecting a state, it should give you a summary similar to below:

Size: [E]
Repair Cost, Time: [F], [G]
Notable items: <5 most prevalent items by cost>

  1. [H]x [I]: [J]
  2. [K]x [L]: [M]
  3. [N]x [O]: [P]
  4. [Q]x [R]: [S]
  5. [T]x [U]: [V]
    [JSON info download]

The JSON info download should be a dict with a block_count of the repair count, repair_cost for the cost of the repair, repair_time for the time of the repair (in seconds), and a materials dict from the material name to the quantity and cost as a tuple.

Guilds

The bot should load a list of approved guilds, and only accept interactions from those guilds.

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.