Package

ackcord.data

raw

Permalink

package raw

Visibility
  1. Public
  2. All

Type Members

  1. case class PartialRawGuildMember(nick: Option[String], roles: Seq[RoleId], joinedAt: OffsetDateTime, deaf: Boolean, mute: Boolean) extends Product with Serializable

    Permalink

    Represents a user in a guild, without the user field.

    Represents a user in a guild, without the user field.

    nick

    The nickname of this user in this guild.

    roles

    The roles of this user.

    joinedAt

    When this user joined the guild.

    deaf

    If this user is deaf.

    mute

    IF this user is mute.

  2. case class PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], mfaEnabled: Option[Boolean], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType]) extends Product with Serializable

    Permalink

    A user where fields can be missing.

    A user where fields can be missing.

    id

    The id of the user.

    username

    The name of the user.

    discriminator

    The discriminator for the user. Those four last digits when clicking in a users name.

    avatar

    The users avatar hash.

    bot

    If this user belongs to a OAuth2 application.

    mfaEnabled

    If this user has two factor authentication enabled.

    verified

    If this user is verified. Requires the email OAuth scope.

    email

    The users email. Requires the email OAuth scope.

  3. case class RawActivity(name: String, type: Int, url: Option[String], timestamps: Option[ActivityTimestamps], applicationId: Option[RawSnowflake], details: Option[String], state: Option[String], party: Option[RawActivityParty], assets: Option[ActivityAsset]) extends Product with Serializable

    Permalink

    The content of a presence.

    The content of a presence.

    name

    The text show.

    url

    A uri if the type is streaming.

    timestamps

    Timestamps for start and end of activity.

    applicationId

    Application id of the game.

    details

    What the player is doing.

    state

    The user's party status.

    party

    Info about the user's party.

    assets

    Images for the presence and hover texts.

  4. case class RawActivityParty(id: Option[String], size: Option[Seq[Int]]) extends Product with Serializable

    Permalink

    id

    The id of the party.

    size

    Sequence of two integers, the current size, and the max size.

  5. case class RawBan(reason: Option[String], user: User) extends Product with Serializable

    Permalink

    A raw ban before going through the cache.

    A raw ban before going through the cache.

    reason

    Why the user was banned.

    user

    The user that was baned.

  6. case class RawChannel(id: ChannelId, type: ChannelType, guildId: Option[GuildId], position: Option[Int], permissionOverwrites: Option[Seq[PermissionOverwrite]], name: Option[String], topic: Option[String], nsfw: Option[Boolean], lastMessageId: Option[MessageId], bitrate: Option[Int], userLimit: Option[Int], rateLimitPerUser: Option[Int], recipients: Option[Seq[User]], icon: Option[String], ownerId: Option[UserId], applicationId: Option[RawSnowflake], parentId: Option[ChannelId], lastPinTimestamp: Option[OffsetDateTime]) extends Product with Serializable

    Permalink

    A raw channel before going through the cache.

    A raw channel before going through the cache.

    id

    The channel id.

    guildId

    The guildId this channel belongs to if it's a guild channel.

    position

    The position of this channel if it's a guild channel.

    permissionOverwrites

    The permission overwrites of this channel if it's a guild channel.

    name

    The name of this channel if it's a guild channel.

    topic

    The topic of this channel if it's a guild voice channel.

    nsfw

    If this channel is NSFW if it's a guild channel.

    lastMessageId

    The last message id if it's a text channel. The id may be invalid.

    bitrate

    The bitrate of this channel if it's a guild voice channel.

    userLimit

    The user limit of this channel if it's a guild voice channel.

    rateLimitPerUser

    The amount of time a user has to wait before sending messages after each other. Bots are not affected.

    recipients

    The recipients of this channel if it's a group DM channel.

    icon

    The icon of this channel if it has one.

    ownerId

    The owner of this channel if it's a DM or group DM channel.

    applicationId

    The application id of this channel if it's a guild channel.

    parentId

    The category of this channel if it's a guild channel.

  7. case class RawEmoji(id: EmojiId, name: String, roles: Seq[RoleId], user: Option[User], requireColons: Boolean, managed: Boolean, animated: Boolean) extends Product with Serializable

    Permalink

    A raw emoji before going through the cache.

    A raw emoji before going through the cache.

    id

    The id of the emoji.

    name

    The emoji name.

    roles

    The roles that can use this emoji.

    user

    The user that created this emoji.

    requireColons

    If the emoji requires colons.

    managed

    If the emoji is managed.

  8. case class RawGuild(id: GuildId, name: String, icon: Option[String], splash: Option[String], owner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[ChannelId], afkTimeout: Int, embedEnabled: Option[Boolean], embedChannelId: Option[ChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: Seq[RawRole], emojis: Seq[RawEmoji], features: Seq[String], mfaLevel: MFALevel, applicationId: Option[RawSnowflake], widgetEnabled: Option[Boolean], widgetChannelId: Option[ChannelId], systemChannelId: Option[ChannelId], joinedAt: Option[OffsetDateTime], large: Option[Boolean], unavailable: Option[Boolean], memberCount: Option[Int], voiceStates: Option[Seq[VoiceState]], members: Option[Seq[RawGuildMember]], channels: Option[Seq[RawChannel]], presences: Option[Seq[RawPresence]], maxPresences: Option[Int], maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String]) extends Product with Serializable

    Permalink

    A a raw guild before going through the cache.

    A a raw guild before going through the cache.

    id

    The id of the guild.

    name

    The name of the guild.

    icon

    The icon hash.

    splash

    The splash hash.

    owner

    If the current user is the owner of the guild.

    ownerId

    The userId of the owner.

    permissions

    The permissions of the current user without overwrites.

    region

    The voice region

    afkChannelId

    The channelId of the AFK channel.

    afkTimeout

    The amount of seconds you need to be AFK before being moved to the AFK channel.

    embedEnabled

    If the embed is enabled.

    embedChannelId

    The channelId for the embed.

    verificationLevel

    The verification level for the guild.

    defaultMessageNotifications

    The notification level for the guild.

    explicitContentFilter

    The explicit content filter level for the guild.

    roles

    The roles of the guild.

    emojis

    The emojis of the guild.

    features

    The enabled guild features.

    mfaLevel

    The MFA level.

    applicationId

    The application id if this guild is bot created.

    widgetEnabled

    If the widget is enabled.

    widgetChannelId

    The channel id for the widget.

    systemChannelId

    The channel which system messages are sent to.

    joinedAt

    When the client joined the guild.

    large

    If this guild is above the large threshold.

    unavailable

    If this guild is unavailable.

    memberCount

    The amount of members in the guild.

    voiceStates

    The voice states of the guild.

    members

    The guild members in the guild.

    channels

    The channels in the guild.

    presences

    The presences in the guild.

    maxPresences

    The maximum amount of presences in the guild.

    maxMembers

    The maximum amount of members in the guild.

    vanityUrlCode

    The vanity url code for the guild.

    description

    A descriptiom fpr the guild.

    banner

    A banner hash for the guild.

  9. case class RawGuildMember(user: User, nick: Option[String], roles: Seq[RoleId], joinedAt: OffsetDateTime, deaf: Boolean, mute: Boolean) extends Product with Serializable

    Permalink

    Represents a user in a guild.

    Represents a user in a guild.

    user

    The user of this member.

    nick

    The nickname of this user in this guild.

    roles

    The roles of this user.

    joinedAt

    When this user joined the guild.

    deaf

    If this user is deaf.

    mute

    IF this user is mute.

  10. case class RawMessage(id: MessageId, channelId: ChannelId, guildId: Option[GuildId], author: Author[_], member: Option[PartialRawGuildMember], content: String, timestamp: OffsetDateTime, editedTimestamp: Option[OffsetDateTime], tts: Boolean, mentionEveryone: Boolean, mentions: Seq[User], mentionRoles: Seq[RoleId], attachment: Seq[Attachment], embeds: Seq[ReceivedEmbed], reactions: Option[Seq[Reaction]], nonce: Option[RawSnowflake], pinned: Boolean, type: MessageType, activity: Option[RawMessageActivity], application: Option[MessageApplication]) extends Product with Serializable

    Permalink

    A raw message before going through the cache.

    A raw message before going through the cache.

    id

    The id of the message.

    channelId

    The channel this message was sent to.

    guildId

    The guild this message was sent to. Can me missing.

    author

    The author that sent this message.

    member

    The guild member user that sent this message. Can be missing.

    content

    The content of this message.

    timestamp

    The timestamp this message was created.

    editedTimestamp

    The timestamp this message was last edited.

    tts

    If this message is has text-to-speech enabled.

    mentionEveryone

    If this message mentions everyone.

    mentions

    All the users this message mentions.

    mentionRoles

    All the roles this message mentions.

    attachment

    All the attachments of this message.

    embeds

    All the embeds of this message.

    reactions

    All the reactions on this message.

    nonce

    A nonce for this message.

    pinned

    If this message is pinned.

  11. case class RawMessageActivity(type: MessageActivityType, partyId: Option[String]) extends Product with Serializable

    Permalink

    type

    Activity type.

    partyId

    Party id from rich presence.

  12. case class RawPresence(user: PartialUser, game: Option[RawActivity], status: Option[PresenceStatus]) extends Product with Serializable

    Permalink

    A raw presence.

    A raw presence.

    user

    A partial user.

    game

    The content of the presence.

    status

    The presence status.

  13. case class RawRole(id: RoleId, name: String, color: Int, hoist: Boolean, position: Int, permissions: Permission, managed: Boolean, mentionable: Boolean) extends Product with Serializable

    Permalink

    A raw role before going through the cache.

    A raw role before going through the cache.

    id

    The id of this role.

    name

    The name of this role.

    color

    The color of this role.

    hoist

    If this role is listed in the sidebar.

    position

    The position of this role.

    permissions

    The permissions this role grant.

    managed

    If this is a bot role.

    mentionable

    If you can mention this role.

Ungrouped