Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cogs/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions core/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 10 additions & 0 deletions slash_localization/en.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
10 changes: 10 additions & 0 deletions slash_localization/hu.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
Loading