Sorting bucket requires an integer.
This commit is contained in:
parent
f3f2f882fd
commit
cb9ae7bd76
@ -590,7 +590,7 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
|
||||
|
||||
@property
|
||||
def _sorting_bucket(self):
|
||||
return ChannelType.category
|
||||
return ChannelType.category.value
|
||||
|
||||
def is_nsfw(self):
|
||||
"""Checks if the category is NSFW."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user