From e77012f4d91dfdb45813fb9fe906a7f791ca4fcf Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 29 Jan 2017 20:51:47 -0500 Subject: Make all public is_ functions into methods instead of properties. --- discord/abc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'discord/abc.py') diff --git a/discord/abc.py b/discord/abc.py index 4b2f6d18..92475164 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -185,7 +185,6 @@ class GuildChannel: ret.append(role) return ret - @property def is_default(self): """bool : Indicates if this is the default channel for the :class:`Guild` it belongs to.""" return self.guild.id == self.id @@ -330,7 +329,7 @@ class GuildChannel: break # default channels can always be read - if self.is_default: + if self.is_default(): base.read_messages = True # if you can't send a message in a channel then you can't have certain -- cgit v1.2.3