forked from cswimr/SeaCogs
feat(pterodactyl): added the topic config values to -ptero set view
This commit is contained in:
parent
cbd9f28f38
commit
7c16ec8df8
1 changed files with 7 additions and 0 deletions
|
@ -523,6 +523,9 @@ class Pterodactyl(commands.Cog):
|
||||||
api_endpoint = await config.api_endpoint()
|
api_endpoint = await config.api_endpoint()
|
||||||
invite = await config.invite()
|
invite = await config.invite()
|
||||||
regex_blacklist: dict = await config.regex_blacklist()
|
regex_blacklist: dict = await config.regex_blacklist()
|
||||||
|
topic_text = await config.topic()
|
||||||
|
topic_hostname = await config.topic_hostname()
|
||||||
|
topic_port = await config.topic_port()
|
||||||
embed = discord.Embed(color = await ctx.embed_color(), title="Pterodactyl Configuration")
|
embed = discord.Embed(color = await ctx.embed_color(), title="Pterodactyl Configuration")
|
||||||
embed.description = f"""**Base URL:** {base_url}
|
embed.description = f"""**Base URL:** {base_url}
|
||||||
**Server ID:** `{server_id}`
|
**Server ID:** `{server_id}`
|
||||||
|
@ -536,6 +539,10 @@ class Pterodactyl(commands.Cog):
|
||||||
**API Endpoint:** `{api_endpoint}`
|
**API Endpoint:** `{api_endpoint}`
|
||||||
**Invite:** {invite}
|
**Invite:** {invite}
|
||||||
|
|
||||||
|
**Topic Text:** {box(topic_text, 'yaml')}
|
||||||
|
**Topic Hostname:** {topic_hostname}
|
||||||
|
**Topic Port:** {topic_port}
|
||||||
|
|
||||||
**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')}
|
||||||
|
|
Loading…
Reference in a new issue