699 Commits

Author SHA1 Message Date
b0b3a6047b Fixing how we're searching for commodities on the api by using string.title() 2023-06-15 22:54:30 -07:00
1323536b4a Fix missing %s 2023-06-15 16:31:55 -07:00
ae8a33f39b 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
bee03a4d46 Change net_gain to Net_profit so it makes sense 2023-06-14 14:03:18 -07:00
d568582da2 Add a break to the price calculation loop to save sweet sweet cpu cycles 2023-06-14 13:50:50 -07:00
e57ae989fd remove unnessary variable assignemtn when calculating costs/profies 2023-06-14 13:30:53 -07:00
163911f1d3 Add some comments to the code 2023-06-14 13:28:13 -07:00
69a2658a31 Add max value and also fix some var names 2023-06-13 10:38:48 -07:00
30dc850bfc Adding a /trade function to help calculate most profitable trade routes 2023-06-13 10:08:25 -07:00
1ef1f976e6 disabling the medaia.discordapp change 2023-06-11 14:48:06 -07:00
d4023a6417 Fix ip of windows computeR 2023-06-07 09:39:49 -07:00
e0afc8f077 shorten the welcome message 2023-06-01 21:26:13 -07:00
53ad2f9444 move buy location lower in the embed, if not buyable, dont add it to the embed 2023-06-01 21:19:20 -07:00
a367467957 Fixing price lookups for ships with a try except 2023-06-01 17:54:19 -07:00
0d0ef380fe Adding top speed to /ship command 2023-06-01 17:13:47 -07:00
780bc0181b update /ship command to work with new wiki layout 2023-06-01 13:53:45 -07:00
7a109a5da5 Fix stock, was assuming post market price would always be populated 2023-05-30 11:45:26 -07:00
0647ecfddb 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
06c7056418 removing code re-use 2023-05-28 16:02:44 -07:00
ae97c9d8ba remvoe leftover troubleshooting code 2023-05-28 16:00:41 -07:00
0a26edd3f0 Fixing the /stock command to use a differnet yahoo api 2023-05-28 16:00:00 -07:00
Luke
333bf3b97c Fixing wording in the error message for the /ship command 2023-05-25 16:54:06 -07:00
5f2113bf10 Add diablo gamers to the welcome blurb 2023-05-25 14:00:11 -07:00
7fe478db2a Dont modify the image url, some ships dont have larger variants on the wiki 2023-05-25 10:18:24 -07:00
8b855a74f0 If there is no ingame price, do not make the link clickable 2023-05-25 09:37:05 -07:00
4ad4a4d326 ignore reactions that are not in the welcome channel 2023-05-24 16:42:26 -07:00
477e1b2332 Update drone file and also add another space on the incident alert for star citizen 2023-05-23 11:39:07 -07:00
6ccf138ec6 Couple updates. Making /invite a slash command, removing some shit post commands, and making the role addition logic only check my servers 2023-05-23 09:29:20 -07:00
4400e3cf32 Wrap the incident header in rotating lights for effect 2023-05-19 13:14:16 -07:00
5147ebea59 Add rotating lights to alert about star citizen incidents 2023-05-19 10:57:26 -07:00
50f34f49be Update pycord commit and revert pip command to just -q 2023-05-18 08:06:35 -07:00
ada93a8ba1 Make ingame price for ships clickable and take you to the buy section of the wiki 2023-05-17 08:20:28 -07:00
61c54f7cc7 Fix case where pledge price doesnt exist on the page 2023-05-16 09:59:59 -07:00
ffc326c90b Adding clickable links to the embed for ship price 2023-05-11 08:32:51 -07:00
e496ee2ab4 add image to the outage embed 2023-05-09 10:59:19 -07:00
de958f6db2 Fix errors by just returning N/A 2023-05-07 13:09:35 -07:00
67356b1b01 Fix channel id for testing 2023-05-05 16:06:26 -07:00
098b5e86da Make sure to only notifiy about an incdient once 2023-05-05 16:02:13 -07:00
f436ca3123 turn off the statu sthing 2023-05-05 15:38:28 -07:00
5cd9532043 Fix yahoo api for stocks 2023-05-04 13:25:09 -07:00
9a912024d9 dont capitalize the ship name 2023-05-01 20:44:12 -07:00
9fa4afcfa5 comment out where to buy for now, its causing issues 2023-05-01 16:21:22 -07:00
dc764476b8 If there is no price available, say so 2023-05-01 10:04:32 -07:00
b1fed88816 Adding medpens command which postsa guide for star citizen medpens 2023-04-30 19:04:57 -07:00
d55276cd77 add role to embed for ships 2023-04-30 17:42:04 -07:00
d71163c1fb Some updates to how the format looks 2023-04-30 15:21:54 -07:00
b516a1f746 Embed a bigger image 2023-04-30 08:59:09 -07:00
1ebd482ef7 Set teh embed image to be the picture of the ship from the wiki 2023-04-30 08:37:17 -07:00
9c974945ec Only post the outage once 2023-04-29 17:27:32 -07:00
8be03bd275 Add status page polling for star citizen 2023-04-29 13:44:46 -07:00