70 Commits

Author SHA1 Message Date
806d1c7c18 Fix pricing information for ships 2023-12-22 13:34:30 -08:00
33da5cbc7a Initial pass at a /rsifind command 2023-12-22 10:53:40 -08:00
a65deba714 Adding quantumfuel to the /ship command 2023-12-21 21:51:54 -08:00
532f8e6841 Add ship health to /ship command 2023-11-30 08:10:06 -08:00
28bce2fdc0 Chagne loaner to loaner(s) for the /ship command 2023-11-27 08:44:15 -08:00
9853f0442c adding sim racing role to server 2023-11-26 11:15:41 -08:00
73888f2216 Add loaner to /ship command if it exists on the page 2023-11-25 10:26:54 -08:00
691251e57e Move description of a ship to the top of the embed 2023-11-25 08:07:06 -08:00
04a48dc5a2 Add length/width/height to /ship 2023-11-21 09:47:19 -08:00
52714c5b3c Add ship image back to the embed, im dumb 2023-11-06 15:26:14 -08:00
b9ca190e30 Add ship description to the /ship command 2023-11-04 23:43:03 -07:00
7455ab4e2e Add a print just so i can catch this in the future 2023-11-02 14:54:33 -07:00
4e8cbfef22 update readme 2023-10-30 14:35:38 -07:00
8f46018d20 Adding item uuid to /ship 2023-10-18 22:00:49 -07:00
b159574725 Another re-write of the monitoring code for starcitizen. This time taking advantage of the cstate API 2023-10-13 11:35:12 -07:00
cf563ed6c9 Cleaning up some stuff and also adding the items uuid as a variable when using /ship, not sure what to do with it yet 2023-10-13 10:18:44 -07:00
9d1549559a Fixing the incdient code and also /ship 2023-10-12 11:54:06 -07:00
6ada1ec343 Re-doing the star citizen incident alert logic, it will now alert us to changes in the incident status 2023-10-10 11:22:44 -07:00
73d4a29cc6 fix stock 2023-09-29 09:05:01 -07:00
9589c08814 Dont mess with the commodity string, its fucking up the logic when searching for commdities with awkward spellings (slam, e'tam, widow) 2023-09-29 08:34:19 -07:00
f3ce5d095f Add request caching + autocomplete to the /trade function 2023-09-29 08:26:21 -07:00
58a5536c1f Fix issue with un-buyable ships causing the bot to error 2023-07-09 16:35:41 -07:00
6178aa19a2 Changing /wolfram to /ask 2023-07-08 21:09:23 -07:00
2812c7bebb Fixing code if a ship is buyable at multiple locations, it was returning all locations you could rent at instead 2023-07-05 18:24:15 -07:00
274c09fcdf Fix issue of nowhere to buy a material (mainly for mineables) 2023-06-17 09:40:45 -07:00
50e192ba9b format 2023-06-16 15:19:43 -07:00
60f5cc04f8 Getting rid of the try except and re-wording some things 2023-06-16 15:16:22 -07:00
0ca8f3d50b fix issue if you typo a commodity name 2023-06-16 08:05:59 -07:00
f6dcd35ae0 Fixing how we're searching for commodities on the api by using string.title() 2023-06-15 22:54:30 -07:00
02ab4318fb Fix missing %s 2023-06-15 16:31:55 -07:00
0d982a94ad Fix edge case of a commodity not actually being sold anywhere, but it still being able to be bought (Bexalite) 2023-06-15 12:10:18 -07:00
56e4b3e45b Change net_gain to Net_profit so it makes sense 2023-06-14 14:03:18 -07:00
68e4e50d19 Add a break to the price calculation loop to save sweet sweet cpu cycles 2023-06-14 13:50:50 -07:00
42f74a5354 remove unnessary variable assignemtn when calculating costs/profies 2023-06-14 13:30:53 -07:00
cbeaea131f Add some comments to the code 2023-06-14 13:28:13 -07:00
963ee7b323 Add max value and also fix some var names 2023-06-13 10:38:48 -07:00
b100fc5768 Adding a /trade function to help calculate most profitable trade routes 2023-06-13 10:08:25 -07:00
c363a821fd move buy location lower in the embed, if not buyable, dont add it to the embed 2023-06-01 21:19:20 -07:00
edfcd35989 Fixing price lookups for ships with a try except 2023-06-01 17:54:19 -07:00
6425bf5ea0 Adding top speed to /ship command 2023-06-01 17:13:47 -07:00
e71baf2b7e update /ship command to work with new wiki layout 2023-06-01 13:53:45 -07:00
68fa959da0 Adding a line to the /ship command to say if theres a weapon rack on the ship or not 2023-05-30 08:54:30 -07:00
9cad312b3e Fixing the /stock command to use a differnet yahoo api 2023-05-28 16:00:00 -07:00
3294ef6b3b Fixing wording in the error message for the /ship command 2023-05-25 16:54:06 -07:00
c1985548cf Dont modify the image url, some ships dont have larger variants on the wiki 2023-05-25 10:18:24 -07:00
f6d50732bc If there is no ingame price, do not make the link clickable 2023-05-25 09:37:05 -07:00
6566d36066 Make ingame price for ships clickable and take you to the buy section of the wiki 2023-05-17 08:20:28 -07:00
1c37dfc722 Fix case where pledge price doesnt exist on the page 2023-05-16 09:59:59 -07:00
f812319fcf Adding clickable links to the embed for ship price 2023-05-11 08:32:51 -07:00
af12a21687 Fix errors by just returning N/A 2023-05-07 13:09:35 -07:00