Commit graph

211 commits

Author SHA1 Message Date
87dfc03812
fix(pterodactyl): don't ping users, roles, or @everyone/@here in console messages + ping only users in chat messages 2024-03-04 19:53:12 -05:00
9b153a4799
fix(pterodactyl): whoops I forgot two 2024-03-03 02:01:33 -05:00
0496454030
fix(pterodactyl): only json.loads() once in the websocket handling code 2024-03-03 02:01:01 -05:00
e2389cec08
fix(pterodactyl): don't log console messages while server is offline (why even?) 2024-03-02 20:10:16 -05:00
58e88f2dd6
fix(pterodactyl): use re.search instead of re.match (thanks zephyrkul) 2024-03-02 20:09:39 -05:00
9106675276
fix(pterodactyl): wooo more debug statements 2024-03-02 19:53:09 -05:00
72d8ff4782
fix(pterodactyl): 🥺 2024-03-02 19:50:48 -05:00
9e92d82817
fix(pterodactyl): fixed trying to match against dictionary keys instead of their values 2024-03-02 19:43:28 -05:00
1ad721f380
fix(pterodactyl): use add_field so formatting doesn't look off 2024-03-02 19:35:42 -05:00
088bf6b8dc
fix(pterodactyl): use .items() to unpack dictionary values 2024-03-02 19:34:30 -05:00
bf3f0f9782
fix(pterodactyl): actually show the blacklisted regex in ptero set view 2024-03-02 19:32:45 -05:00
e6231bf1a7
fix(pterodactyl): fixed TypeError (again) 2024-03-02 19:31:26 -05:00
4020ab7847
fix(pterodactyl): fixed TypeError 2024-03-02 19:30:15 -05:00
f6ebbae583
feat(pterodactyl): added a regex blacklist command 2024-03-02 19:27:36 -05:00
5c2bfea238
misc(pterodactyl): added a comment explaining why pterodactylclient is being used with debug mode enabled 2024-03-02 19:08:36 -05:00
a52a991ae6
fix(pterodactyl): remove " characters from tellraw message strings 2024-03-02 16:41:36 -05:00
6e2776b63a
misc(pterodactyl): removed unused config keys 2024-03-02 15:46:04 -05:00
4c7526b157
fix(pterodactyl): changed achivement embed colors 2024-03-02 15:42:29 -05:00
6cdab8363a
misc(pterodactyl): made achievement text bold 2024-03-02 15:38:06 -05:00
464483b4c9
fix(pterodactyl): regex consistency 2024-03-02 15:30:47 -05:00
3d7337c42c
fix(pterodactyl): don't detect messages from the server/rcon as chat messages 2024-03-02 15:29:59 -05:00
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