Commit graph

214 commits

Author SHA1 Message Date
a166168507
fix(pterodactyl): maybe? 2024-03-01 15:02:42 -05:00
8b50c0376d
fix(pterodactyl): asyncio sleep instead of blocking 2024-03-01 14:59:20 -05:00
a0b1773185
fix(pterodactyl): added another info logging statement 2024-03-01 14:57:21 -05:00
b6819192b0
fix(pterodactyl): use time.sleep instead 2024-03-01 14:56:44 -05:00
b775439967
fix(pterodactyl): cleanup 2024-03-01 14:52:14 -05:00
f2d54ce23b
feat(pterodactyl): added a retry counter and sleep cooldown to the error_callback 2024-03-01 14:42:45 -05:00
b7f5ae644a
fix(pterodactyl): check if websocket_credentials is None 2024-03-01 14:18:44 -05:00
684f2559e2
fix(pterodactyl): pylint fixes 2024-03-01 14:11:11 -05:00
8b1e42716b
fix(pterodactyl): use a custom logger for the websocket instead of websockets.client 2024-03-01 14:04:10 -05:00
837bf4aa34
fix(pterodactyl): changed a bunch of logger messages to be info and not debug 2024-03-01 13:16:22 -05:00
1bbabd495f
fix(pterodactyl): added logging for if the WebSocket task is cancelled 2024-03-01 13:14:55 -05:00
8cbad26e1d
fix(pterodactyl): removed some debugging stuff 2024-03-01 13:13:30 -05:00
6f4f13e623
fix(pterodactyl): adding some debugging code 2024-03-01 13:08:10 -05:00
b18b99075e
misc(pterodactyl): added a space to fix an embed 2024-03-01 01:21:10 -05:00
3795d7d13a
fix(pterodactyl): updated info.json 2024-03-01 01:19:51 -05:00
dd6184ccd0
fix(pterodactyl): remove useless config key 2024-03-01 01:17:48 -05:00
afc5868e9e
feat(pterodactyl): use red's api key storage system for api key storage and not a config key 2024-03-01 01:17:31 -05:00
7e03696e10
feat(pterodactyl): added achievements 2024-03-01 00:46:51 -05:00
8954df4c1d
fix(pterodactyl): fixed a docstring 2024-03-01 00:30:38 -05:00
f2c56e0382
fix(pterodactyl): restrict [p]pterodactyl config to bot owners 2024-03-01 00:29:08 -05:00
bd7aa54efe
fix(pterodactyl): fixed an issue with colors in generate_join_leave_embed 2024-03-01 00:25:39 -05:00
f91cd82d1b
fix(pterodactyl): added config key I forgot to register 2024-03-01 00:23:59 -05:00
2fbd8cde9e
feat(pterodactyl): added user join/leave 2024-03-01 00:23:00 -05:00
7a39c9a75d
feat(pterodactyl): added startup and shutdown messages 2024-03-01 00:05:06 -05:00
d39f0ba104
feat(pterodactyl): server status will persist through reloads 2024-03-01 00:02:42 -05:00
a4f68d55eb
fix(pterodactyl): register config on cog class initialization 2024-02-29 23:55:51 -05:00
8387064ab4
fix(pterodactyl): maybe fixed config issue 2024-02-29 23:54:35 -05:00
9e63b4e798
fix(pterodactyl): oops lol 2024-02-29 23:52:48 -05:00
0d21a52ce3
feat(pterodactyl): added support for bridging messages sent by the server 2024-02-29 23:50:54 -05:00
457f1da7f4
fix(pterodactyl): pylint "fix" 2024-02-29 23:44:28 -05:00
c0289a86fc
fix(pterodactyl): pylint fixes 2024-02-29 23:42:12 -05:00
7f8d70ccae
fix(pterodactyl): fixed circular import 2024-02-29 23:33:00 -05:00
2bf8629e4c
fix(pterodactyl): updated typehints 2024-02-29 23:31:30 -05:00
e1c98aa78f
cleanup(pterodactyl): split out a bunch of stuff into separate files 2024-02-29 23:26:24 -05:00
417f297193
misc(pterodactyl): renamed tellraw to chat_command 2024-02-29 22:41:06 -05:00
37cdca09ec
fix(pterodactyl): pylint fixes 2024-02-29 22:15:44 -05:00
839ead56eb
fix(pterodactyl): remove looping functionality from websocket.connect on line 62 as it's irrelevant now and was broken regardless 2024-02-29 22:07:22 -05:00
9e15730af9
fix(pterodactyl): cancel the task upon error 2024-02-29 22:06:59 -05:00
de5d0194c8
fix(pterodactyl): don't send chat messages to minecraft containing bot commands 2024-02-29 21:51:18 -05:00
ef7f574306
fix(pterodactyl): testing a fix to tellraw 2024-02-29 21:46:47 -05:00
07835e7b13
fix(pterodactyl): fixed TypeError 2024-02-29 21:41:00 -05:00
cccc941e26
fix(pterodactyl): restart the websocket task if it fails 2024-02-29 21:38:54 -05:00
0aa17e8807
fix(pterodactyl): fixed exceptions in the websocket task being suppressed 2024-02-29 21:35:09 -05:00
366bafcd27
fix(pterodactyl): don't trim content 2024-02-29 21:18:42 -05:00
d5600e8cf7
fix(pterodactyl): fixed chat messages breaking and removed debug logging 2024-02-29 21:15:46 -05:00
97213a5025
fix(pterodactyl): maybe? 2024-02-29 21:14:10 -05:00
2e4b664760
fix(pterodactyl): maybe? 2024-02-29 21:11:16 -05:00
925e402819
fix(pterodactyl): try to match regex early for debugging 2024-02-29 21:08:50 -05:00
502ffbee84
fix(pterodactyl): adding some debug logging 2024-02-29 21:07:28 -05:00
f87f4ee37f
fix(pterodactyl): don't try to send messages from bots to the server (for real this time) 2024-02-29 21:00:35 -05:00
50dd5c64b4
fix(pterodactyl): added error messages for if the websocket connection is closed 2024-02-29 20:59:47 -05:00
579855af02
fix(pterodactyl): reverted previous commit 2024-02-29 20:45:31 -05:00
2fb201a9cb
fix(pterodactyl): happy now? 2024-02-29 20:44:46 -05:00
236cb1d815
fix(pterodactyl): adding debug strings to check_if_chat_message 2024-02-29 20:43:11 -05:00
f588caf25f
fix(pterodactyl): fixed broken tellraw string 2024-02-29 20:40:03 -05:00
4108bb22bb
fix(pterodactyl): moved chatchannel into the chat command group 2024-02-29 20:31:29 -05:00
76aa99c3f9
feat(pterodactyl): configuration update + a bunch of other stuff 2024-02-29 20:28:26 -05:00
f792ad58a0
fix(pterodactyl): use display_name and not name 2024-02-29 19:01:17 -05:00
5a4dc4866c
feat(pterodactyl): added role coloring for discord roles 2024-02-29 19:00:07 -05:00
d3cc445802
feat(pterodactyl): testing allowing custom colors in tellraw 2024-02-29 18:53:47 -05:00
4174bc4be7
fix(pterodactyl): don't accept messages from bots 2024-02-29 18:53:17 -05:00
d00b70758a
fix(pterodactyl): hopefully fixed tellraw error 2024-02-29 18:50:22 -05:00
b0a110e4f8
fix(pterodactyl): added more debug logging 2024-02-29 18:39:01 -05:00
9023ea160b
feat(pterodactyl): added console channel logging for chat messages 2024-02-29 17:27:36 -05:00
0e638ca9e3
fix(pterodactyl): fixing tellraw command 2024-02-29 17:24:08 -05:00
5dc55b52e7
fix(pterodactyl): testing fix to sending chat messages to minecraft 2024-02-29 17:22:41 -05:00
4f95955a04
fix(pterodactyl): fixed broken formatting 2024-02-29 17:19:26 -05:00
510f8c788e
feat(pterodactyl): added sending messages from discord to the server 2024-02-29 17:18:03 -05:00
a791c27fc3
fix(pterodactyl): fixed broken debug statement 2024-02-29 17:14:06 -05:00
07e2497aac
fix(pterodactyl): fixed incorrect dictionary key causing an error 2024-02-29 17:01:00 -05:00
e12ded9d42
fix(pterodactyl): add more verbose debug logging 2024-02-29 16:58:19 -05:00
ee6e900e7d
fix(pterodactyl): fixed incorrect config name 2024-02-29 16:55:45 -05:00
f42c536f7c
fix(pterodactyl): awaited a coroutine 2024-02-29 16:53:09 -05:00
7e728087c4
fix(pterodactyl): adding debug logging so i can figure out what's failing in the chat system 2024-02-29 16:52:10 -05:00
9a698fbac6
feat(pterodactyl): added one-way chat messages (minecraft --> discord) 2024-02-29 16:47:20 -05:00
dab7343ca6
fix(pterodactyl): use running, not started 2024-02-28 13:44:13 -05:00
239f7cf613
fix(pterodactyl): fixed current_status 2024-02-28 13:41:51 -05:00
39ae8b5ea0
fix(pterodactyl): do not log during startup/shutdown to avoid the console channel getting flooded and ratelimited 2024-02-28 13:39:40 -05:00
142336e233
feat(pterodactyl): handle server status changes 2024-02-28 13:32:31 -05:00
f6f0a31763
fix(pterodactyl): don't log console command executions 2024-02-28 13:22:46 -05:00
ec2cd09f8e
fix(pterodactyl): removed ansi escape codes 2024-02-28 13:21:39 -05:00
c740cdc6dc
feat(pterodactyl): fixed some issues and added logging for what user executed a command through the console 2024-02-28 13:18:15 -05:00
a8f60b1aec
fix(pterodactyl): do not ratelimit yourself 2024-02-28 13:08:24 -05:00
d297a2181d
fix(pterodactyl): i'm dumb 2024-02-28 13:07:31 -05:00
60f94c4499
fix(pterodactyl): testing a ""solution"" to the websocket closing problem 2024-02-28 13:05:04 -05:00
ccbce180dd
fix(pterodactyl): hopefully fixed the websocket closing on console output event 2024-02-28 13:03:31 -05:00
2017cbb226
cleanup(pterodactyl): making some changes to establish_websocket_connection 2024-02-28 13:00:11 -05:00
caa03a63e6
fix(pterodactyl): set origin header through websockets.connect and not through extra_headers 2024-02-28 12:54:34 -05:00
b7635f06f5
fix(pterodactyl): added a character limit to the channel.send call in the websocket method 2024-02-28 12:50:16 -05:00
ff93fd8527
fix(pterodactyl): awaited a coroutine 2024-02-28 12:47:15 -05:00
3d8f479347
fix(pterodactyl): cog ->Cog 2024-02-28 12:44:54 -05:00
0961985168
feat(pterodactyl): added configuration command for setting the console channel 2024-02-28 12:44:12 -05:00
cebc2223d9
feat(pterodactyl): added console channel support 2024-02-28 12:43:26 -05:00
d9f5d14f40
fix(pterodactyl): origin, not Origin 2024-02-28 12:03:16 -05:00
7b83513d63
cleanup(pterodactyl): removed debug loggers 2024-02-28 11:59:49 -05:00
48634ac903
fix(pterodactyl): enabled debug mode on the pterodactylclient 2024-02-28 11:57:39 -05:00
2312cce011
fix(pterodactyl): added temporary debugging logs 2024-02-28 11:55:48 -05:00
09d48082e5 Revert "fix(pterodactyl): awaited a coroutine"
This reverts commit 08cd13d7c7.
2024-02-28 11:54:16 -05:00
08cd13d7c7
fix(pterodactyl): awaited a coroutine 2024-02-28 11:52:35 -05:00
d391aeeb7b
fix(pterodactyl): handle disconnecting from the websocket 2024-02-28 11:46:00 -05:00
8a22d5ce23
fix(pterodactyl): pylint fixes 2024-02-28 11:08:16 -05:00
be27d882f2
fix(pterodactyl): don't await something that isn't a coroutine 2024-02-28 10:46:42 -05:00
d092f78502
feat(pterodactyl): added more debug logging to the configuration commands 2024-02-28 08:56:47 -05:00
d92831f3db
misc(pterodactyl): added a debug logging statement to the first line of establish_websocket_connection 2024-02-28 08:49:02 -05:00
2d4e372784
fix(pterodactyl): fixed the cog load process being blocked by the establish_websocket_connection method 2024-02-28 08:47:24 -05:00
5e3ab08d6d
fix(pterodactyl): fixed a broken debug logging statement 2024-02-28 08:37:02 -05:00
f377dc9250
fix(pterodactyl): added websockets as a dependency in info.json 2024-02-28 08:36:47 -05:00
680f92572c
fix(pterodactyl): fixed debug logging causing an error in establish_websocket_connection 2024-02-28 08:20:35 -05:00
ea84044e73
fix(pterodactyl): fix failing to connect to the websocket due to a 403 error 2024-02-28 08:14:40 -05:00
53adeb4b80
feat(pterodactyl): added configuration commands 2024-02-28 08:11:23 -05:00
9d4d8b8267
misc(pterodactyl): moved configuration calls into establish_websocket_connection 2024-02-28 08:11:15 -05:00
6e6559d80c
feat(pterodactyl): added more verbose debug logging to establish_websocket_connection 2024-02-28 08:10:46 -05:00
dcf0165a8a
misc(pterodactyl): removed credentials from default configs
api key has been invalidated
2024-02-27 23:18:17 -05:00
6158d05960
feat(pterodactyl): introduced the cog 2024-02-27 23:02:03 -05:00