48 Commits

Author SHA1 Message Date
d601f62d19 Changing /wolfram to /ask 2023-07-08 21:09:23 -07:00
742c5ade05 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
28c88244ff Fix issue of nowhere to buy a material (mainly for mineables) 2023-06-17 09:40:45 -07:00
d4d26a8bc8 format 2023-06-16 15:19:43 -07:00
0ab72dde2a Getting rid of the try except and re-wording some things 2023-06-16 15:16:22 -07:00
988a6f45a3 fix issue if you typo a commodity name 2023-06-16 08:05:59 -07:00
fcca0446cb Fixing how we're searching for commodities on the api by using string.title() 2023-06-15 22:54:30 -07:00
d6e4312521 Fix missing %s 2023-06-15 16:31:55 -07:00
f135434d7f 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
29fef4295e Change net_gain to Net_profit so it makes sense 2023-06-14 14:03:18 -07:00
fcce7188a0 Add a break to the price calculation loop to save sweet sweet cpu cycles 2023-06-14 13:50:50 -07:00
977958e7ec remove unnessary variable assignemtn when calculating costs/profies 2023-06-14 13:30:53 -07:00
8dcc77f2a2 Add some comments to the code 2023-06-14 13:28:13 -07:00
aa6f685da6 Add max value and also fix some var names 2023-06-13 10:38:48 -07:00
717255be38 Adding a /trade function to help calculate most profitable trade routes 2023-06-13 10:08:25 -07:00
2df569bc42 move buy location lower in the embed, if not buyable, dont add it to the embed 2023-06-01 21:19:20 -07:00
0bafc30042 Fixing price lookups for ships with a try except 2023-06-01 17:54:19 -07:00
e853a2bbd1 Adding top speed to /ship command 2023-06-01 17:13:47 -07:00
01cf6ba5ac update /ship command to work with new wiki layout 2023-06-01 13:53:45 -07:00
f013536e4b 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
52153cb5d1 Fixing the /stock command to use a differnet yahoo api 2023-05-28 16:00:00 -07:00
Luke
e8dfe4d362 Fixing wording in the error message for the /ship command 2023-05-25 16:54:06 -07:00
41ba28d0fc Dont modify the image url, some ships dont have larger variants on the wiki 2023-05-25 10:18:24 -07:00
12dfec6cfa If there is no ingame price, do not make the link clickable 2023-05-25 09:37:05 -07:00
60b60420e9 Make ingame price for ships clickable and take you to the buy section of the wiki 2023-05-17 08:20:28 -07:00
81ff6f2d38 Fix case where pledge price doesnt exist on the page 2023-05-16 09:59:59 -07:00
77b8e9d8c2 Adding clickable links to the embed for ship price 2023-05-11 08:32:51 -07:00
dd3e98a606 Fix errors by just returning N/A 2023-05-07 13:09:35 -07:00
2c9ae33a25 dont capitalize the ship name 2023-05-01 20:44:12 -07:00
2025c5f267 comment out where to buy for now, its causing issues 2023-05-01 16:21:22 -07:00
54c7c63867 If there is no price available, say so 2023-05-01 10:04:32 -07:00
41ddb7d320 add role to embed for ships 2023-04-30 17:42:04 -07:00
1c1f83b79c Some updates to how the format looks 2023-04-30 15:21:54 -07:00
6a6787cafc Embed a bigger image 2023-04-30 08:59:09 -07:00
6a72403ddd Set teh embed image to be the picture of the ship from the wiki 2023-04-30 08:37:17 -07:00
838e3b5003 Adding some horrendous code to figureo ut where to buy each ship 2023-04-29 08:29:15 -07:00
68b34b257f Handle case where no insurance info is on the wiki 2023-04-28 14:40:23 -07:00
de5bd386eb update embed title 2023-04-28 14:17:53 -07:00
1d3caf4523 fix underscore in ship url 2023-04-28 14:02:49 -07:00
0b15bcaf1c fix link to ship at bottom of the embed 2023-04-28 13:29:54 -07:00
a450df91be Fix ship name captalizing when there is a space in teh name, also returning the error embed object 2023-04-28 13:28:10 -07:00
c0d65e98c0 big rewrite of the star citizen function. No longer using the API, just scraping the wiki 2023-04-28 13:06:19 -07:00
b65a9b0d67 Adding dividers + a link to teh wiki at the bottom of the embed for a ship 2023-04-28 09:47:31 -07:00
a5f5c33a51 format 2023-04-27 08:29:40 -07:00
a6425c6cac error handling if the ship isnt found 2023-04-27 08:29:30 -07:00
72b493df67 remove prints 2023-04-26 20:45:04 -07:00
d7be9c44b4 make prices in line 2023-04-26 20:44:27 -07:00
106fa4cedb Adding first pass at /ship command for star citizen 2023-04-26 20:36:18 -07:00