Parse a repair state message to generate a craft cost
tylers1066 / repair-parser Goto Github PK
View Code? Open in Web Editor NEWParse a repair state message to generate a craft cost
License: GNU General Public License v3.0
Parse a repair state message to generate a craft cost
License: GNU General Public License v3.0
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.
We're leaving off some useful data at the start of the repair output like size
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>
- [H]x [I]: [J]
- [K]x [L]: [M]
- [N]x [O]: [P]
- [Q]x [R]: [S]
- [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
.
It appears we have unmatched starts and ends of repairs
The bot should load a list of approved guilds, and only accept interactions from those guilds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.