def recent_mentions(self) -> 'typing.AsyncIterator[dt_message.Message]': """ :return: A :class:`~.AsyncIteratorWrapper` that can be used to get all the mentions for \ this user. """ return AsyncIteratorWrapper( self.get_recent_mentions(role_mentions=True, everyone_mentions=True, limit=100))
def recent_mentions(self): """ :return: A :class:`~.AsyncIteratorWrapper` that can be used to get all the mentions for \ this user in this guild. """ return AsyncIteratorWrapper( self.get_recent_mentions(limit=100, everyone_mentions=True, role_mentions=True))
def invites(self) -> 'typing.AsyncIterator[dt_invite.Invite]': """ :return: A class:`.AsyncIteratorWrapper` that yields :class:`.Invite` objects for this guild. """ return AsyncIteratorWrapper(self.get_invites)
def pins(self) -> '_typing.AsyncIterator[dt_message.Message]': """ :return: A :class:`~.AsyncIteratorWrapper` that can be used to iterate over the pins. """ return AsyncIteratorWrapper(self.get_pins())
def invites(self) -> 'typing.AsyncIterator[dt_invite.Invite]': """ Returns a list of :class:`.Invite` objects that are in this message (and valid). """ return AsyncIteratorWrapper(self.get_invites)
def webhooks(self) -> 'AsyncIterator[dt_webhook.Webhook]': """ :return: A :class:`.AsyncIteratorWrapper` for the :class:`.Webhook` objects in this \ channel. """ return AsyncIteratorWrapper(self.get_webhooks)
def authorized_apps(self) -> 'typing.AsyncIterator[AuthorizedApp]': """ :return: A :class:`~.AsyncIteratorWrapper` that can be used to get all the authorized apps \ for this user. """ return AsyncIteratorWrapper(self.get_authorized_apps())
def bans(self) -> 'typing.AsyncIterator[dt_user.User]': """ :return: A :class:`~.AsyncIteratorWrapper` that yields :class:`~.User` objects that are banned. """ return AsyncIteratorWrapper(self.get_bans())