def blocks(self) -> typing.Mapping[int, 'RelationshipUser']:
"""
:return: A mapping of :class:`~.RelationshipUser` that represents the blocked users for \
this user.
"""
if self.bot:
raise CuriousError("Bots cannot have friends")
return MappingProxyType(self._bot.state._blocked)
评论列表
文章目录