Refactor Pterodactyl cog to use aiohttp #2

Merged
cswimr merged 26 commits from aiohttp-refactor into main 2023-07-24 09:29:55 -04:00

26 commits

Author SHA1 Message Date
ec5daee2de
cleanup: removed requests from imports 2023-07-24 09:25:09 -04:00
610e9902a9
fix: stop was using requests still and erroring because of it 2023-07-24 09:25:00 -04:00
6ec35134fd
fix: added a 10s delay to the power commands 2023-07-24 09:17:25 -04:00
db764b54e2
fix: fixed power_action_in_progress 2023-07-24 09:16:17 -04:00
3ed6cffe5d
fix: awaited some things inside power commands 2023-07-24 09:06:56 -04:00
dcd3560fbc
fix: fixed power and update commands' error checking 2023-07-24 09:04:58 -04:00
20a6d89f3d
feat: power commands now check if another power command is in progress and error if they are 2023-07-24 09:02:15 -04:00
7451a2e625
fix: power commands now use aiohttp instead of requests 2023-07-24 09:01:06 -04:00
72e7d83bd7
cleanup: removed obsolete method 2023-07-24 08:59:45 -04:00
ae4d794258
feat: added additional configuration option - used internally 2023-07-24 08:59:01 -04:00
d5b4ac3dbe
fix: hopefully fixed the broken update command 2023-07-24 08:45:53 -04:00
fb99f5ea33
misc: reduced sleep timer for server status checking 2023-07-23 23:09:34 -04:00
35e80fdbb3
misc: changed sleep duration on UpdateButtons to 1 second 2023-07-23 14:34:58 -04:00
ef662d81b1
fix: applied previous fix to UpdateButtons 2023-07-23 14:32:49 -04:00
1bf60cef81
fix: testing a fix for update 2023-07-23 14:29:07 -04:00
fa48b3a924
fix: changed something in the updatebuttons class 2023-07-23 14:13:35 -04:00
6079ccd371
fix: fixed a missing await 2023-07-23 14:11:26 -04:00
601a9642c7
fix: fixed update command again 2023-07-23 14:08:15 -04:00
5398fb77a8
fix: fixed update command 2023-07-23 14:05:03 -04:00
85fa243732
fix: hopefully made update work properly 2023-07-23 14:04:02 -04:00
7727f789f2
fix: fixed get_session trying to assign a kwarg that doesn't exist 2023-07-23 12:55:27 -04:00
0f73bbaabc
fix: fixed get_session 2023-07-23 12:52:59 -04:00
a2488a53bd
fix: and again! (configure commands this time) 2023-07-23 12:51:10 -04:00
45b6c94f06
fix: same thing as last commit, just with get_url 2023-07-23 12:50:44 -04:00
fed6790122
fix: fixed power commands failing to load 2023-07-23 12:49:58 -04:00
f10178e948
feat: update now uses aiohttp 2023-07-23 12:39:44 -04:00