merge remote changes

This commit is contained in:
Codex 2025-06-05 19:25:46 +00:00 committed by Slipstream
commit c77346f099
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -72,11 +72,9 @@ class LoggingCog(commands.Cog):
self.header.add_item(ui.TextDisplay(description))
self.container.add_item(self.header)
# Section to hold log fields. `discord.py` requires an accessory of
# type ``Button`` or ``Thumbnail`` for a ``Section``. A disabled
# button with a zero-width label acts as an invisible placeholder
# and prevents ``is_dispatchable`` errors without affecting the
# layout visually.
# Section to hold log fields with no accessory. The API requires a
# valid component type, so use a disabled button with an invisible
# label as a placeholder accessory.
self.fields_section = ui.Section(
accessory=ui.Button(label="\u200b", disabled=True)
)