fix: update accent color in LevelCheckView to None for better compatibility
This commit is contained in:
parent
1ad3cfffec
commit
4f946ca4d0
@ -404,7 +404,7 @@ class LevelingCog(commands.Cog):
|
|||||||
print("DEBUG: target_member is None in LevelCheckView.__init__")
|
print("DEBUG: target_member is None in LevelCheckView.__init__")
|
||||||
|
|
||||||
# Main container for all elements, providing the accent color
|
# Main container for all elements, providing the accent color
|
||||||
main_container = ui.Container(accent_colour=discord.Colour.blue())
|
main_container = ui.Container(accent_colour=None)
|
||||||
if main_container is None:
|
if main_container is None:
|
||||||
raise AssertionError("ui.Container returned None in LevelCheckView; ensure accent_colour is valid")
|
raise AssertionError("ui.Container returned None in LevelCheckView; ensure accent_colour is valid")
|
||||||
self.add_item(main_container) # Add the main container to the view
|
self.add_item(main_container) # Add the main container to the view
|
||||||
|
Loading…
x
Reference in New Issue
Block a user