Commit graph

190 commits

Author SHA1 Message Date
8ccb174913
fix(pterodactyl): fixed incorrect websocket handling 2024-03-02 15:27:34 -05:00
3e18894bb5
fix(pterodactyl): only check if a message is a chat message if it isn't a server message 2024-03-02 15:20:33 -05:00
1263f59cee
fix(pterodactyl): detect messages sent through /say 2024-03-02 15:18:32 -05:00
385c94c97e
fix(pterodactyl): fixed broken chat command default 2024-03-02 15:12:59 -05:00
a7a42be4ed
fix(pterodactyl): don't allow pings through the websocket chat 2024-03-02 15:11:40 -05:00
1f51cb2a27
fix(pterodactyl): changed a regex pattern default 2024-03-02 15:11:26 -05:00
7e4d4b348a
fix(pterodactyl): match the correct group in check_if_server_message 2024-03-02 12:41:54 -05:00
4c234502f7
fix(pterodactyl): fixed broken regex 2024-03-02 12:40:25 -05:00
26e5bd9129
fix(pterodactyl): check if server message is from Server or Rcon before sending to chat channel 2024-03-02 12:36:38 -05:00
882b0386f2
fix(pterodactyl): pylint fixes 2024-03-01 23:43:46 -05:00
12862ccea7
fix(pterodactyl): docstring change 2024-03-01 23:04:33 -05:00
0b0afa53d6
fix(pterodactyl): docstring change 2024-03-01 23:03:43 -05:00
9e8bcb952a
fix(pterodactyl): made configuration command arguments required 2024-03-01 23:01:11 -05:00
0882a498b6
fix(pterodactyl): forgot to move something in the config view command 2024-03-01 22:57:00 -05:00
d1966fb05f
fix(pterodactyl): cleaned up the pterodactyl config view command 2024-03-01 22:55:07 -05:00
987a29afff
feat(pterodactyl): added [p]pterodactyl config view command 2024-03-01 22:53:08 -05:00
f93223fd36
fix(pterodactyl): use an escaped * for ip masking so markdown isn't triggered 2024-03-01 22:39:58 -05:00
306148ea69
feat(pterodactyl): added masking of IP addresses in the console output 2024-03-01 22:38:49 -05:00
fb177ff8ad
fix(pterodactyl): fixed broken placeholder replacement 2024-03-01 22:25:21 -05:00
e9523d5f70
fix(pterodactyl): fixed server messages sometimes not logging 2024-03-01 22:24:02 -05:00
6a02381e89
feat(pterodactyl): add power commands 2024-03-01 22:20:50 -05:00
88c77b4aa5
fix(pterodactyl): fixed error if base_url ends in / 2024-03-01 15:44:26 -05:00
95bf863f7e
fix(pterodactyl): alphabetized a dict and the docs 2024-03-01 15:28:14 -05:00
dab56bed94
feat(pterodactyl): added more placeholders and updated documentation to match 2024-03-01 15:27:13 -05:00
4979e44b7c
feat(pterodactyl): updated how placeholders are parsed in get_chat_command(), updated documentation to match 2024-03-01 15:21:44 -05:00
1bc1c7a90e
fix(pterodactyl): fixed retry functionality - no longer blocks the bot 2024-03-01 15:11:57 -05:00
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