From ba1825cd115afad3c9dbb36b2c30852b82fe8076 Mon Sep 17 00:00:00 2001 From: wlinator Date: Mon, 2 Sep 2024 06:26:31 -0400 Subject: [PATCH] refactor: Change default intro IDs --- lib/help.py | 18 +++++++++++++++--- settings.yaml | 4 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/lib/help.py b/lib/help.py index 436236f..b7972cc 100644 --- a/lib/help.py +++ b/lib/help.py @@ -98,11 +98,19 @@ class LuminaraHelp(commands.HelpCommand): group_commands.extend(commands_list) if group_commands: command_list = ", ".join(f"`{c.name}`" for c in group_commands) - embed.add_field(name=group.capitalize(), value=command_list, inline=False) + embed.add_field( + name=group.capitalize(), + value=command_list, + inline=False, + ) await self.get_destination().send(embed=embed) - async def _add_command_help_fields(self, embed: discord.Embed, command: commands.Command[Any, Any, Any]) -> None: + async def _add_command_help_fields( + self, + embed: discord.Embed, + command: commands.Command[Any, Any, Any], + ) -> None: """ Adds fields with usage and alias information for a command to an embed. @@ -159,7 +167,11 @@ class LuminaraHelp(commands.HelpCommand): ) for command in group.commands: - embed.add_field(name=command.name, value=command.short_doc or "No description available.", inline=False) + embed.add_field( + name=command.name, + value=command.short_doc or "No description available.", + inline=False, + ) await self.get_destination().send(embed=embed) diff --git a/settings.yaml b/settings.yaml index 949f4b8..be98056 100644 --- a/settings.yaml +++ b/settings.yaml @@ -93,8 +93,8 @@ info: invite_url: https://discord.com/oauth2/authorize?client_id=1038050427272429588&permissions=8&scope=bot introductions: - intro_guild_id: 1219635811977269371 - intro_channel_id: 1219637688328523806 + intro_guild_id: 719227135151046699 + intro_channel_id: 973619250507972618 intro_question_mapping: Nickname: how would you like to be identified in the server? (nickname) Age: how old are you?