aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index dbbae23c..b6a39ca9 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -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."""