Sorting bucket requires an integer.

This commit is contained in:
Rapptz 2019-03-17 15:16:46 -04:00
parent f3f2f882fd
commit cb9ae7bd76

View File

@ -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."""