object BulkRequestMembers
- Source
- BulkRequestMembers.scala
- Alphabetic
- By Inheritance
- BulkRequestMembers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def seqUserIds(guild: GuildId, userIds: Seq[UserId], events: Events, timeout: FiniteDuration = 30.seconds)(implicit system: ActorSystem[Nothing]): Future[Ior[Seq[(GuildId, UserId)], Seq[RawGuildMemberWithGuild]]]
Request members for all the users passed in.
Request members for all the users passed in.
Beware that this method uses more memory than consuming the elements as they are gotten using sourceUserIds.
- guild
The guild to get the members for the users in.
- userIds
The users to get the members for.
- events
An events instance to send the requests with.
- returns
A future Ior containing on the left members not found, and on the right members found. The returned members are represented with RawGuildMemberWithGuild which is like a ackcord.data.GuildMember together with a ackcord.data.User.
- def seqUsernameQuery(guild: GuildId, query: String, events: Events, limit: Int = 100, timeout: FiniteDuration = 30.seconds)(implicit system: ActorSystem[Nothing]): Future[Seq[RawGuildMemberWithGuild]]
Request members for a given username query.
Request members for a given username query.
- guild
The guild to get the members in.
- query
The username query to search for. Must not be empty.
- events
An events instance to send the requests with.
- limit
Max amount of members to get.
- returns
A future seq containing members who's username starts with the query. The returned members are represented with RawGuildMemberWithGuild which is like a ackcord.data.GuildMember together with a ackcord.data.User.
- def sourceUserIds(guild: GuildId, userIds: Seq[UserId], events: Events, timeout: FiniteDuration = 30.seconds)(implicit system: ActorSystem[Nothing]): Source[RawGuildMemberWithGuild, Future[Seq[(GuildId, UserId)]]]
Request members for all the users passed in.
Request members for all the users passed in.
- guild
The guild to get the members for the users in.
- userIds
The users to get the members for.
- events
An events instance to send the requests with.
- returns
A source containing the members for the user ids passed in. The materialized value of the source is all the members not found. The returned members are represented with RawGuildMemberWithGuild which is like a ackcord.data.GuildMember together with a ackcord.data.User.
- def sourceUsernameQuery(guild: GuildId, query: String, events: Events, limit: Int = 100, timeout: FiniteDuration = 30.seconds)(implicit system: ActorSystem[Nothing]): Source[RawGuildMemberWithGuild, NotUsed]
Request members for a given username query.
Request members for a given username query.
- guild
The guild to get the members in.
- query
The username query to search for. Must not be empty.
- events
An events instance to send the requests with.
- limit
Max amount of members to get.
- returns
A source containing members who's username starts with the query. The returned members are represented with RawGuildMemberWithGuild which is like a ackcord.data.GuildMember together with a ackcord.data.User.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])