merge remote changes
This commit is contained in:
commit
c77346f099
@ -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)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user