|
d9a89939e0
|
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 |
|
|
b990be298f
|
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 |
|
|
740d51f94c
|
Fixing the incdient code and also /ship
|
2023-10-12 11:54:06 -07:00 |
|
|
72346ff2c4
|
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 |
|
|
73aeb78b8d
|
fix stock
|
2023-09-29 09:05:01 -07:00 |
|
|
e07d5051c6
|
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 |
|
|
45c7c40b96
|
Add request caching + autocomplete to the /trade function
|
2023-09-29 08:26:21 -07:00 |
|
|
27b4e0e3f9
|
Fix issue with un-buyable ships causing the bot to error
|
2023-07-09 16:35:41 -07:00 |
|
|
c73169c6a1
|
Changing /wolfram to /ask
|
2023-07-08 21:09:23 -07:00 |
|
|
2f63b141d5
|
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 |
|
|
ba6d263a16
|
Fix issue of nowhere to buy a material (mainly for mineables)
|
2023-06-17 09:40:45 -07:00 |
|
|
e58f5ac984
|
format
|
2023-06-16 15:19:43 -07:00 |
|
|
a1323e2ad3
|
Getting rid of the try except and re-wording some things
|
2023-06-16 15:16:22 -07:00 |
|
|
efdf6313b0
|
fix issue if you typo a commodity name
|
2023-06-16 08:05:59 -07:00 |
|
|
54753bb4fa
|
Fixing how we're searching for commodities on the api by using string.title()
|
2023-06-15 22:54:30 -07:00 |
|
|
224dc788c8
|
Fix missing %s
|
2023-06-15 16:31:55 -07:00 |
|
|
1d521c2636
|
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 |
|
|
13823f3793
|
Change net_gain to Net_profit so it makes sense
|
2023-06-14 14:03:18 -07:00 |
|
|
839a62dba9
|
Add a break to the price calculation loop to save sweet sweet cpu cycles
|
2023-06-14 13:50:50 -07:00 |
|
|
54d484dc4a
|
remove unnessary variable assignemtn when calculating costs/profies
|
2023-06-14 13:30:53 -07:00 |
|
|
32e41b160b
|
Add some comments to the code
|
2023-06-14 13:28:13 -07:00 |
|
|
27caa77a65
|
Add max value and also fix some var names
|
2023-06-13 10:38:48 -07:00 |
|
|
0f727ed69e
|
Adding a /trade function to help calculate most profitable trade routes
|
2023-06-13 10:08:25 -07:00 |
|
|
80381fbad8
|
move buy location lower in the embed, if not buyable, dont add it to the embed
|
2023-06-01 21:19:20 -07:00 |
|
|
df44f23273
|
Fixing price lookups for ships with a try except
|
2023-06-01 17:54:19 -07:00 |
|
|
d62e674106
|
Adding top speed to /ship command
|
2023-06-01 17:13:47 -07:00 |
|
|
2da5cc8f29
|
update /ship command to work with new wiki layout
|
2023-06-01 13:53:45 -07:00 |
|
|
10a649bc46
|
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 |
|
|
10a29d8c8b
|
Fixing the /stock command to use a differnet yahoo api
|
2023-05-28 16:00:00 -07:00 |
|
Luke
|
bfa19cf9e4
|
Fixing wording in the error message for the /ship command
|
2023-05-25 16:54:06 -07:00 |
|
|
a28aaa0ec9
|
Dont modify the image url, some ships dont have larger variants on the wiki
|
2023-05-25 10:18:24 -07:00 |
|
|
3eabe5cf80
|
If there is no ingame price, do not make the link clickable
|
2023-05-25 09:37:05 -07:00 |
|
|
f7f3411777
|
Make ingame price for ships clickable and take you to the buy section of the wiki
|
2023-05-17 08:20:28 -07:00 |
|
|
ba3a90d56c
|
Fix case where pledge price doesnt exist on the page
|
2023-05-16 09:59:59 -07:00 |
|
|
f88b539fe6
|
Adding clickable links to the embed for ship price
|
2023-05-11 08:32:51 -07:00 |
|
|
2113203be1
|
Fix errors by just returning N/A
|
2023-05-07 13:09:35 -07:00 |
|
|
b0a5139ac2
|
dont capitalize the ship name
|
2023-05-01 20:44:12 -07:00 |
|
|
a0af79eb88
|
comment out where to buy for now, its causing issues
|
2023-05-01 16:21:22 -07:00 |
|
|
445df6ba21
|
If there is no price available, say so
|
2023-05-01 10:04:32 -07:00 |
|
|
dba3d31d5b
|
add role to embed for ships
|
2023-04-30 17:42:04 -07:00 |
|
|
740a0e2001
|
Some updates to how the format looks
|
2023-04-30 15:21:54 -07:00 |
|
|
03f857379c
|
Embed a bigger image
|
2023-04-30 08:59:09 -07:00 |
|
|
24d8d5fb80
|
Set teh embed image to be the picture of the ship from the wiki
|
2023-04-30 08:37:17 -07:00 |
|
|
217faa3d0c
|
Adding some horrendous code to figureo ut where to buy each ship
|
2023-04-29 08:29:15 -07:00 |
|
|
42b9dcea5f
|
Handle case where no insurance info is on the wiki
|
2023-04-28 14:40:23 -07:00 |
|
|
f68270acb5
|
update embed title
|
2023-04-28 14:17:53 -07:00 |
|
|
29af3e6505
|
fix underscore in ship url
|
2023-04-28 14:02:49 -07:00 |
|
|
2d345ace4f
|
fix link to ship at bottom of the embed
|
2023-04-28 13:29:54 -07:00 |
|
|
676e802d52
|
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 |
|
|
0f172b7f43
|
big rewrite of the star citizen function. No longer using the API, just scraping the wiki
|
2023-04-28 13:06:19 -07:00 |
|