From 404a54741d44b9b69fc96bf47e076e752624b05c Mon Sep 17 00:00:00 2001 From: rnxm <63553775+rnxm@users.noreply.github.com> Date: Mon, 5 Oct 2026 14:56:14 +0200 Subject: [PATCH 1/3] fix: attributeerror when sending error messages --- core/bot.py | 1 + 1 file changed, 1 insertion(+) 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: From 66dfb7d9defa048ef3890069f257e94814aed4ef Mon Sep 17 00:00:00 2001 From: rnxm <63553775+rnxm@users.noreply.github.com> Date: Mon, 5 Oct 2026 15:05:27 +0200 Subject: [PATCH 2/3] fix(help): replace class reference with object reference when converting embeds --- cogs/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From edda3c6798599d14aeb52d340647a3dc0986d7d3 Mon Sep 17 00:00:00 2001 From: rnxm <63553775+rnxm@users.noreply.github.com> Date: Mon, 5 Oct 2026 15:05:52 +0200 Subject: [PATCH 3/3] l10n: add strings for config command --- slash_localization/en.l10n.json | 10 ++++++++++ slash_localization/hu.l10n.json | 10 ++++++++++ 2 files changed, 20 insertions(+) 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