@property<EOL><INDENT>def overwrites(self):<DEDENT>
ret = {}<EOL>for ow in self._overwrites:<EOL><INDENT>allow = Permissions(ow.allow)<EOL>deny = Permissions(ow.deny)<EOL>overwrite = PermissionOverwrite.from_pair(allow, deny)<EOL>if ow.type == '<STR_LIT>':<EOL><INDENT>target = self.guild.get_role(ow.id)<EOL><DEDENT>elif ow.type == '<STR_LIT>':<EOL><INDENT>target = self.guild.get_member(ow.id)<EOL><DEDENT>if target is not None:<EOL><INDENT>ret[target] = overwrite<EOL><DEDENT><DEDENT>return ret<EOL>
Returns all of the channel's overwrites.

        This is returned as a dictionary where the key contains the target which
        can be either a :class:`Role` or a :class:`Member` and the key is the
        overwrite as a :class:`PermissionOverwrite`.

        Returns
        --------
        Mapping[Union[:class:`Role`, :class:`Member`], :class:`PermissionOverwrite`]:
            The channel's permission overwrites.