From cb9ae7bd76a2db1547656852144514353d27295a Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 17 Mar 2019 15:16:46 -0400 Subject: [PATCH] Sorting bucket requires an integer. --- discord/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/channel.py b/discord/channel.py index dbbae23c0..b6a39ca91 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."""