diff options
| -rw-r--r-- | discord/abc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py index b7cd26ef..e836dda3 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -222,7 +222,7 @@ class GuildChannel: yield from http.bulk_channel_update(self.guild.id, payload, reason=reason) self.position = position if parent_id is not _undefined: - self.category_id = int(parent_id) + self.category_id = int(parent_id) if parent_id else None @asyncio.coroutine def _edit(self, options, reason): |