Add Pterodactyl cog #19

Merged
cswimr merged 139 commits from pterodactyl into main 2024-03-02 00:07:42 -05:00
Showing only changes of commit 0882a498b6 - Show all commits

View file

@ -348,18 +348,19 @@ class Pterodactyl(commands.Cog):
**Server ID:** `{server_id}` **Server ID:** `{server_id}`
**Console Channel:** <#{console_channel}> **Console Channel:** <#{console_channel}>
**Chat Channel:** <#{chat_channel}> **Chat Channel:** <#{chat_channel}>
**Achievement Regex:** `{achievement_regex}`
**Startup Message:** {startup_msg} **Startup Message:** {startup_msg}
**Shutdown Message:** {shutdown_msg} **Shutdown Message:** {shutdown_msg}
**Join Message:** {join_msg} **Join Message:** {join_msg}
**Leave Message:** {leave_msg} **Leave Message:** {leave_msg}
**Mask IP:** {self.get_bool_str(mask_ip)} **Mask IP:** {self.get_bool_str(mask_ip)}
**API Endpoint:** `{api_endpoint}` **API Endpoint:** `{api_endpoint}`
**Chat Command:** {box(chat_command, 'json')} **Chat Command:** {box(chat_command, 'json')}
**Chat Regex:** {box(chat_regex, 're')} **Chat Regex:** {box(chat_regex, 're')}
**Server Regex:** {box(server_regex, 're')} **Server Regex:** {box(server_regex, 're')}
**Join Regex:** {box(join_regex, 're')} **Join Regex:** {box(join_regex, 're')}
**Leave Regex:** {box(leave_regex, 're')}""" **Leave Regex:** {box(leave_regex, 're')}
**Achievement Regex:** {box(achievement_regex, 're')}"""
await ctx.send(embed=embed) await ctx.send(embed=embed)
def get_bool_str(self, bool: bool) -> str: def get_bool_str(self, bool: bool) -> str: