c

ackcord.syntax

GuildMemberSyntax

implicit final class GuildMemberSyntax extends AnyVal

Source
syntax.scala
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. Protected

Instance Constructors

  1. new GuildMemberSyntax(guildMember: GuildMember)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def addRole(roleId: RoleId): AddGuildMemberRole

    Add a role to this member.

    Add a role to this member.

    roleId

    The role to add

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def ban(deleteMessageDays: Option[Int], reason: Option[String]): CreateGuildBan

    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]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def kick: RemoveGuildMember

    Kick this guild member.

  10. def modify(nick: util.JsonOption[String] = JsonUndefined, roles: util.JsonOption[Seq[RoleId]] = JsonUndefined, mute: util.JsonOption[Boolean] = JsonUndefined, deaf: util.JsonOption[Boolean] = JsonUndefined, channelId: util.JsonOption[VoiceGuildChannelId] = JsonUndefined): ModifyGuildMember

    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(roleId: RoleId): RemoveGuildMemberRole

    Remove a role from this member.

    Remove a role from this member.

    roleId

    The role to remove

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

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

  13. def rolesForUser(implicit snapshot: CacheSnapshot): Seq[Role]

    Get all the roles for this guild member.

  14. def toString(): String
    Definition Classes
    Any
  15. def unban: RemoveGuildBan

    Unban this user.

Inherited from AnyVal

Inherited from Any

Ungrouped