63 Commits

Author SHA1 Message Date
Luke Robles
ae3d32ddf6 Move description of a ship to the top of the embed
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-25 08:07:06 -08:00
Luke Robles
b95a8ae5a5 Add length/width/height to /ship
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-21 09:47:19 -08:00
Luke Robles
cc9570a9e5 Add ship image back to the embed, im dumb
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-06 15:26:14 -08:00
Luke Robles
66e7768805 Add ship description to the /ship command
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-04 23:43:03 -07:00
Luke Robles
c50d2d75c2 Add a print just so i can catch this in the future
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-02 14:54:33 -07:00
093ad67eaf update readme
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-30 14:35:38 -07:00
Luke Robles
0cb1d9ca6d Adding item uuid to /ship
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-18 22:00:49 -07:00
Luke Robles
c1f6474608 Another re-write of the monitoring code for starcitizen. This time taking advantage of the cstate API
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-13 11:35:12 -07:00
Luke Robles
70ac0ed3e4 Cleaning up some stuff and also adding the items uuid as a variable when using /ship, not sure what to do with it yet
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-13 10:18:44 -07:00
Luke Robles
f8b5fae956 Fixing the incdient code and also /ship
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-12 11:54:06 -07:00
Luke Robles
5d7720c679 Re-doing the star citizen incident alert logic, it will now alert us to changes in the incident status
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-10 11:22:44 -07:00
Luke Robles
ab13e861cc fix stock
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-29 09:05:01 -07:00
Luke Robles
40158c822a Dont mess with the commodity string, its fucking up the logic when searching for commdities with awkward spellings (slam, e'tam, widow)
Some checks failed
continuous-integration/drone/push Build is failing
2023-09-29 08:34:19 -07:00
Luke Robles
c40bf8b9b7 Add request caching + autocomplete to the /trade function
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-29 08:26:21 -07:00
Luke Robles
4a1efa69fd Fix issue with un-buyable ships causing the bot to error
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-07-09 16:35:41 -07:00
c32ce6163b Changing /wolfram to /ask
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-08 21:09:23 -07:00
Luke Robles
ca5b011758 Fixing code if a ship is buyable at multiple locations, it was returning all locations you could rent at instead
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-05 18:24:15 -07:00
Luke Robles
f3c4b67d7e Fix issue of nowhere to buy a material (mainly for mineables)
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-17 09:40:45 -07:00
Luke Robles
dc7974b57f format
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-16 15:19:43 -07:00
Luke Robles
ae4833b30a Getting rid of the try except and re-wording some things
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-16 15:16:22 -07:00
Luke Robles
358fe6d39e fix issue if you typo a commodity name
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-16 08:05:59 -07:00
Luke
7a03ef86ec Fixing how we're searching for commodities on the api by using string.title()
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 22:54:30 -07:00
Luke Robles
ead9d2d50a Fix missing %s
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 16:31:55 -07:00
Luke Robles
19d9c94ae3 Fix edge case of a commodity not actually being sold anywhere, but it still being able to be bought (Bexalite)
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 12:10:18 -07:00
Luke Robles
3fac36ab57 Change net_gain to Net_profit so it makes sense
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-14 14:03:18 -07:00
Luke Robles
249e103622 Add a break to the price calculation loop to save sweet sweet cpu cycles
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-14 13:50:50 -07:00
Luke Robles
c47547e5b8 remove unnessary variable assignemtn when calculating costs/profies
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-14 13:30:53 -07:00
Luke Robles
6b5becfef0 Add some comments to the code
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-14 13:28:13 -07:00
Luke Robles
e42ef06124 Add max value and also fix some var names
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 10:38:48 -07:00
Luke Robles
6d8963b9e3 Adding a /trade function to help calculate most profitable trade routes
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 10:08:25 -07:00
b6c212b56d move buy location lower in the embed, if not buyable, dont add it to the embed
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 21:19:20 -07:00
Luke Robles
45c45b9e9c Fixing price lookups for ships with a try except
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 17:54:19 -07:00
Luke Robles
12db6cf23c Adding top speed to /ship command
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 17:13:47 -07:00
Luke Robles
e166dc51b6 update /ship command to work with new wiki layout
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 13:53:45 -07:00
Luke Robles
5721b6aae1 Adding a line to the /ship command to say if theres a weapon rack on the ship or not
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 08:54:30 -07:00
Luke Robles
cf92cfc816 Fixing the /stock command to use a differnet yahoo api
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-28 16:00:00 -07:00
Luke
dd07c567a5 Fixing wording in the error message for the /ship command
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-25 16:54:06 -07:00
Luke Robles
84aebe340d Dont modify the image url, some ships dont have larger variants on the wiki
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-25 10:18:24 -07:00
Luke Robles
8f995fd5ea If there is no ingame price, do not make the link clickable
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-25 09:37:05 -07:00
Luke Robles
99e062c3a3 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
04dd44af06 Fix case where pledge price doesnt exist on the page 2023-05-16 09:59:59 -07:00
Luke Robles
ce20cefd21 Adding clickable links to the embed for ship price 2023-05-11 08:32:51 -07:00
Luke Robles
43cc9f5c2e Fix errors by just returning N/A 2023-05-07 13:09:35 -07:00
Luke Robles
2ebc6d4319 dont capitalize the ship name 2023-05-01 20:44:12 -07:00
04b3a95ab4 comment out where to buy for now, its causing issues 2023-05-01 16:21:22 -07:00
Luke Robles
e17a0fd7ce If there is no price available, say so 2023-05-01 10:04:32 -07:00
Luke Robles
1f28c5d663 add role to embed for ships 2023-04-30 17:42:04 -07:00
Luke Robles
f3b9d8b8b9 Some updates to how the format looks 2023-04-30 15:21:54 -07:00
Luke Robles
6a288c8011 Embed a bigger image 2023-04-30 08:59:09 -07:00
Luke Robles
76b1fbb9fe Set teh embed image to be the picture of the ship from the wiki 2023-04-30 08:37:17 -07:00