From f484a5c02341a1cf9ff54aeabd6429c83fd4015b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 16 Dec 2015 19:54:26 -0500 Subject: [PATCH] Channel.is_default_channel is now a property named is_default. --- discord/channel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord/channel.py b/discord/channel.py index 41445a12c..983b4fb95 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -111,7 +111,8 @@ class Channel(EqualityComparable): override.permissions.handle_overwrite(allowed, denied) self.changed_roles.append(override) - def is_default_channel(self): + @property + def is_default(self): """bool : Indicates if this is the default channel for the :class:`Server` it belongs to.""" return self.server.id == self.id