Class

net.katsstuff.ackcord.syntax

GuildMemberSyntax

Related Doc: package syntax

Permalink

implicit final class GuildMemberSyntax extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuildMemberSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GuildMemberSyntax(guildMember: GuildMember)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def addRole[Ctx](roleId: RoleId, context: Ctx = NotUsed: NotUsed): AddGuildMemberRole[Ctx]

    Permalink

    Add a role to this member.

    Add a role to this member.

    roleId

    The role to add

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def ban[Ctx](deleteMessageDays: Int, reason: String, context: Ctx = NotUsed: NotUsed): CreateGuildBan[Ctx]

    Permalink

    Ban this guild member.

    Ban this guild member.

    deleteMessageDays

    The number of days to delete messages for this banned user.

  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def kick[Ctx](context: Ctx = NotUsed: NotUsed): RemoveGuildMember[Ctx]

    Permalink

    Kick this guild member.

  10. def modify[Ctx](nick: JsonOption[String] = JsonUndefined, roles: JsonOption[Seq[RoleId]] = JsonUndefined, mute: JsonOption[Boolean] = JsonUndefined, deaf: JsonOption[Boolean] = JsonUndefined, channelId: JsonOption[ChannelId] = JsonUndefined, context: Ctx = NotUsed: NotUsed): ModifyGuildMember[Ctx]

    Permalink

    Modify this guild member.

    Modify this guild member.

    nick

    The nickname to give to the user.

    roles

    The roles to give to the user.

    mute

    If the user should be muted.

    deaf

    If the user should be deafened.

    channelId

    The id of the channel to move the user to.

  11. def removeRole[Ctx](roleId: RoleId, context: Ctx = NotUsed: NotUsed): RemoveGuildMemberRole[Ctx]

    Permalink

    Remove a role from this member.

    Remove a role from this member.

    roleId

    The role to remove

  12. def rolesForUser(guild: Guild): Seq[Role]

    Permalink

    Get all the roles for this guild member given a preexisting guild.

  13. def rolesForUser[F[_]](implicit snapshot: CacheSnapshot[F], F: Functor[F]): F[Seq[Role]]

    Permalink

    Get all the roles for this guild member.

  14. def toString(): String

    Permalink
    Definition Classes
    Any
  15. def unban[Ctx](context: Ctx = NotUsed: NotUsed): RemoveGuildBan[Ctx]

    Permalink

    Unban this user.

Inherited from AnyVal

Inherited from Any

Ungrouped