81 Commits

Author SHA1 Message Date
5345b6138d Fix edge case where the base url isnt in the badge url for some reason 2024-01-01 17:21:35 -08:00
ce60e60209 Rewrite of the /rsifind command. Much faseter and not relying on the shitty API anymore 2024-01-01 17:13:29 -08:00
73da0434d0 Adding the /price command to get just the value of a given amount of cargoogp 2023-12-30 20:56:59 -08:00
6c369c7fe0 back to live endpoing 2023-12-29 12:03:59 -08:00
65d1a5afee Switch to cache endpoint 2023-12-28 21:37:38 -08:00
e1698686f1 Fix check for if someones in an org 2023-12-25 13:07:02 -08:00
341f62295f Fix check for if someones in an org 2023-12-25 13:06:41 -08:00
cb99e1d1a1 Fix how i find the locations taht a ship is sold at 2023-12-24 17:28:52 -08:00
b09a691b05 Account for no ship pricing on finder.cstone's site 2023-12-24 14:54:35 -08:00
2685b176d7 Adding buy location back to the /ship command 2023-12-23 14:11:23 -08:00
2fff94fd1c Print player name in error message for rsi_find 2023-12-22 23:52:04 -08:00
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