@property<EOL><INDENT>def guild_permissions(self):<DEDENT>
if self.guild.owner == self:<EOL><INDENT>return Permissions.all()<EOL><DEDENT>base = Permissions.none()<EOL>for r in self.roles:<EOL><INDENT>base.value |= r.permissions.value<EOL><DEDENT>if base.administrator:<EOL><INDENT>return Permissions.all()<EOL><DEDENT>return base<EOL>
Returns the member's guild permissions.

        This only takes into consideration the guild permissions
        and not most of the implied permissions or any of the
        channel permission overwrites. For 100% accurate permission
        calculation, please use either :meth:`permissions_in` or
        :meth:`abc.GuildChannel.permissions_for`.

        This does take into consideration guild ownership and the
        administrator implication.