66 Commits

Author SHA1 Message Date
Luke Robles
c18cb992ab Chagne loaner to loaner(s) for the /ship command 2023-11-27 08:44:15 -08:00
Luke Robles
fcb4ffd318 adding sim racing role to server 2023-11-26 11:15:41 -08:00
eb3b94a539 Add loaner to /ship command if it exists on the page 2023-11-25 10:26:54 -08:00
Luke Robles
d92b9514cc Move description of a ship to the top of the embed 2023-11-25 08:07:06 -08:00
Luke Robles
e6fdaef2e5 Add length/width/height to /ship 2023-11-21 09:47:19 -08:00
Luke Robles
a50d7eec53 Add ship image back to the embed, im dumb 2023-11-06 15:26:14 -08:00
Luke Robles
417ddf6e04 Add ship description to the /ship command 2023-11-04 23:43:03 -07:00
Luke Robles
d5feaf516a Add a print just so i can catch this in the future 2023-11-02 14:54:33 -07:00
d9feebfc25 update readme 2023-10-30 14:35:38 -07:00
Luke Robles
1f0965bb62 Adding item uuid to /ship 2023-10-18 22:00:49 -07:00
Luke Robles
654f40db38 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
Luke Robles
f5a375e9f2 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
Luke Robles
42980f29bd Fixing the incdient code and also /ship 2023-10-12 11:54:06 -07:00
Luke Robles
92747bbc0b 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
Luke Robles
00e1fdee8d fix stock 2023-09-29 09:05:01 -07:00
Luke Robles
9a1937a846 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
Luke Robles
15204f55ca Add request caching + autocomplete to the /trade function 2023-09-29 08:26:21 -07:00
Luke Robles
f6ee1be447 Fix issue with un-buyable ships causing the bot to error 2023-07-09 16:35:41 -07:00
ec451d206f Changing /wolfram to /ask 2023-07-08 21:09:23 -07:00
Luke Robles
fb3646f134 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
Luke Robles
a275e22468 Fix issue of nowhere to buy a material (mainly for mineables) 2023-06-17 09:40:45 -07:00
Luke Robles
a8d77ab227 format 2023-06-16 15:19:43 -07:00
Luke Robles
9e5519c110 Getting rid of the try except and re-wording some things 2023-06-16 15:16:22 -07:00
Luke Robles
5e84edc81a fix issue if you typo a commodity name 2023-06-16 08:05:59 -07:00
913e5ef054 Fixing how we're searching for commodities on the api by using string.title() 2023-06-15 22:54:30 -07:00
Luke Robles
1296d72250 Fix missing %s 2023-06-15 16:31:55 -07:00
Luke Robles
1233e07421 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
Luke Robles
235de533e7 Change net_gain to Net_profit so it makes sense 2023-06-14 14:03:18 -07:00
Luke Robles
b0862fe81a Add a break to the price calculation loop to save sweet sweet cpu cycles 2023-06-14 13:50:50 -07:00
Luke Robles
e19e9b4b47 remove unnessary variable assignemtn when calculating costs/profies 2023-06-14 13:30:53 -07:00
Luke Robles
3a23c3d46f Add some comments to the code 2023-06-14 13:28:13 -07:00
Luke Robles
08d949b6db Add max value and also fix some var names 2023-06-13 10:38:48 -07:00
Luke Robles
a93ce1aaf5 Adding a /trade function to help calculate most profitable trade routes 2023-06-13 10:08:25 -07:00
8af1fd560f move buy location lower in the embed, if not buyable, dont add it to the embed 2023-06-01 21:19:20 -07:00
Luke Robles
610237daef Fixing price lookups for ships with a try except 2023-06-01 17:54:19 -07:00
Luke Robles
183d9aa8e8 Adding top speed to /ship command 2023-06-01 17:13:47 -07:00
Luke Robles
f9725266a6 update /ship command to work with new wiki layout 2023-06-01 13:53:45 -07:00
Luke Robles
a75c40c7d3 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
Luke Robles
372cb82187 Fixing the /stock command to use a differnet yahoo api 2023-05-28 16:00:00 -07:00
Luke
145539bfce Fixing wording in the error message for the /ship command 2023-05-25 16:54:06 -07:00
Luke Robles
dd1cc5a93b Dont modify the image url, some ships dont have larger variants on the wiki 2023-05-25 10:18:24 -07:00
Luke Robles
fe03e2f734 If there is no ingame price, do not make the link clickable 2023-05-25 09:37:05 -07:00
Luke Robles
1481d9e284 Make ingame price for ships clickable and take you to the buy section of the wiki 2023-05-17 08:20:28 -07:00
Luke Robles
7b2eb52c0a Fix case where pledge price doesnt exist on the page 2023-05-16 09:59:59 -07:00
Luke Robles
56ee6e19ca Adding clickable links to the embed for ship price 2023-05-11 08:32:51 -07:00
Luke Robles
b371d7559a Fix errors by just returning N/A 2023-05-07 13:09:35 -07:00
Luke Robles
71e7bf7b23 dont capitalize the ship name 2023-05-01 20:44:12 -07:00
6ddcf56cdf comment out where to buy for now, its causing issues 2023-05-01 16:21:22 -07:00
Luke Robles
0d7671c097 If there is no price available, say so 2023-05-01 10:04:32 -07:00
Luke Robles
adb0c26d9f add role to embed for ships 2023-04-30 17:42:04 -07:00