diff options
| author | Rapptz <[email protected]> | 2019-03-17 15:16:46 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-03-17 15:16:46 -0400 |
| commit | cb9ae7bd76a2db1547656852144514353d27295a (patch) | |
| tree | 5e1278fc1ab9a59836897b76fb7660b42fa36519 | |
| parent | Fix typo in private property name. (diff) | |
| download | discord.py-cb9ae7bd76a2db1547656852144514353d27295a.tar.xz discord.py-cb9ae7bd76a2db1547656852144514353d27295a.zip | |
Sorting bucket requires an integer.
| -rw-r--r-- | discord/channel.py | 2 |
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.""" |