Browse Source

Sorting bucket requires an integer.

pull/1995/head
Rapptz 6 years ago
parent
commit
cb9ae7bd76
  1. 2
      discord/channel.py

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

Loading…
Cancel
Save