def get_reactors(self, emoji, *args, **kwargs): """ Returns an iterator which paginates the reactors for the given emoji. Returns ------- `Paginator`(`User`) An iterator which handles pagination of reactors. """ if isinstance(emoji, Emoji): emoji = emoji.to_string() return Paginator(self.client.api.channels_messages_reactions_get, 'after', self.channel_id, self.id, emoji, *args, **kwargs)
def audit_log_iter(self, **kwargs): return Paginator(self.client.api.guilds_auditlogs_list, 'before', self.id, **kwargs)
def audit_log(self): return Paginator( self.client.api.guilds_auditlogs_list, 'before', self.id, )