diff --git a/cogs/help.py b/cogs/help.py index cd27e64..a9a0fd1 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -347,7 +347,7 @@ async def send_group_or_cog_help(self, group_or_cog: commands.Group | commands.C break formatted = Localization.format_strings(template, command=Command.from_command(command, self.context)) embeds[0].add_field(**formatted) - message["embeds"] = CustomResponse.convert_embeds(embeds) # type: ignore + message["embeds"] = self.custom_response.convert_embeds(embeds) # type: ignore await self.get_destination().send(**message) # type: ignore diff --git a/core/bot.py b/core/bot.py index 94a53e6..b2edd78 100644 --- a/core/bot.py +++ b/core/bot.py @@ -51,6 +51,7 @@ def __init__(self, config: Config): ) self.prefix_cache: dict[int, tuple[str | list[str], bool]] = {} self.custom_response = custom_response.CustomResponse(self) + self._error_webhook: discord.Webhook | None = None async def fetch_prefix(self, message: discord.Message) -> str | list[str]: if self.debug: diff --git a/slash_localization/en.l10n.json b/slash_localization/en.l10n.json index 34d2f3e..3a6ecdc 100644 --- a/slash_localization/en.l10n.json +++ b/slash_localization/en.l10n.json @@ -918,5 +918,15 @@ "clear": { "name": "clear", "desc": "Clear all tracks from the queue" + }, + "config": { + "name": "config", + "desc": "Configure the bot with a command-line like interface", + "args": { + "flags_and_args": { + "name": "flags_and_args", + "desc": "Flags and arguments for the config command, -h for help" + } + } } } \ No newline at end of file diff --git a/slash_localization/hu.l10n.json b/slash_localization/hu.l10n.json index 43c2396..3ff3396 100644 --- a/slash_localization/hu.l10n.json +++ b/slash_localization/hu.l10n.json @@ -918,5 +918,15 @@ "clear": { "name": "töröl", "desc": "Minden zenét kiszed a lejátszási sorból" + }, + "config": { + "name": "config", + "desc": "Kezeld a botot, mintha egy parancssorból tennéd", + "args": { + "flags_and_args": { + "name": "flagek_és_paraméterek", + "desc": "Flagek és paraméterek a parancshoz, -h segítséghez" + } + } } } \ No newline at end of file