26 Commits

Author SHA1 Message Date
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
Luke Robles
a05a2a38b1 Some updates to how the format looks 2023-04-30 15:21:54 -07:00
Luke Robles
c96ae97c9a Embed a bigger image 2023-04-30 08:59:09 -07:00
Luke Robles
ed5b2f2df8 Set teh embed image to be the picture of the ship from the wiki 2023-04-30 08:37:17 -07:00
Luke Robles
7cfb4cadf5 Adding some horrendous code to figureo ut where to buy each ship 2023-04-29 08:29:15 -07:00
Luke Robles
ac00ba6c44 Handle case where no insurance info is on the wiki 2023-04-28 14:40:23 -07:00
Luke Robles
0a9c863df4 update embed title 2023-04-28 14:17:53 -07:00
Luke Robles
03e72d0dcb fix underscore in ship url 2023-04-28 14:02:49 -07:00
Luke Robles
49921cb8d1 fix link to ship at bottom of the embed 2023-04-28 13:29:54 -07:00
Luke Robles
639602e8d1 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
Luke Robles
791d6d8e8b big rewrite of the star citizen function. No longer using the API, just scraping the wiki 2023-04-28 13:06:19 -07:00
Luke Robles
84f9a4bbe9 Adding dividers + a link to teh wiki at the bottom of the embed for a ship 2023-04-28 09:47:31 -07:00
Luke Robles
9458ce3ce5 format 2023-04-27 08:29:40 -07:00
Luke Robles
4fb483cbf9 error handling if the ship isnt found 2023-04-27 08:29:30 -07:00
Luke Robles
13ccfe2625 remove prints 2023-04-26 20:45:04 -07:00
Luke Robles
f30175cfde make prices in line 2023-04-26 20:44:27 -07:00
Luke Robles
a1ca0cd6ab Adding first pass at /ship command for star citizen 2023-04-26 20:36:18 -07:00