Packages

package raw

Type Members

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

    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.

    premiumSince

    When this user boosted the server.

    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], system: Option[Boolean], mfaEnabled: Option[Boolean], locale: Option[String], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType], publicFlags: Option[UserFlags]) extends Product with Serializable

    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], createdAt: Instant, timestamps: Option[ActivityTimestamps], applicationId: Option[RawSnowflake], details: Option[String], state: Option[String], emoji: Option[ActivityEmoji], party: Option[RawActivityParty], assets: Option[ActivityAsset]) extends Product with Serializable

    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

    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

    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[SnowflakeType[GuildCategory]], lastPinTimestamp: Option[OffsetDateTime]) extends Product with Serializable

    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: Option[Boolean], managed: Option[Boolean], animated: Option[Boolean], available: Option[Boolean]) extends Product with Serializable

    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.

    available

    If the emoji can be used.

  8. case class RawGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], owner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[VoiceGuildChannelId], afkTimeout: Int, verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: Seq[RawRole], emojis: Seq[RawEmoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[RawSnowflake], widgetEnabled: Option[Boolean], widgetChannelId: Option[GuildChannelId], systemChannelId: Option[TextGuildChannelId], systemChannelFlags: SystemChannelFlags, rulesChannelId: Option[TextGuildChannelId], 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], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int]) extends Product with Serializable

    A raw guild before going through the cache.

    A raw guild before going through the cache.

    id

    The id of the guild.

    name

    The name of the guild.

    icon

    The icon hash.

    iconHash

    Used for template objects.

    splash

    The splash hash.

    discoverySplash

    The discovery 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.

    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 notices like welcome and boost messages are sent to.

    systemChannelFlags

    The flags for the system channel

    rulesChannelId

    The id for the channel where the rules of a guild are stored.

    joinedAt

    When the client joined the guild.

    large

    If this guild is above the large threshold.

    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.

    premiumTier

    The premium tier of the guild.

    premiumSubscriptionCount

    How many users that are boosting the server.

    preferredLocale

    The preferred locale of a community guild.

    publicUpdatesChannelId

    The channel where admin and mods can see public updates are sent to public guilds.

    maxVideoChannelUsers

    The max amount of users in a video call.

    approximateMemberCount

    Roughly how many members there is in the guild.

    approximatePresenceCount

    Roughly how many presences there is in the guild.

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

    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.

    premiumSince

    When this user boosted the server.

    deaf

    If this user is deaf.

    mute

    IF this user is mute.

  10. case class RawMessage(id: MessageId, channelId: TextChannelId, 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], mentionChannels: Option[Seq[ChannelMention]], attachment: Seq[Attachment], embeds: Seq[ReceivedEmbed], reactions: Option[Seq[Reaction]], nonce: Option[Either[Int, String]], pinned: Boolean, type: MessageType, activity: Option[RawMessageActivity], application: Option[MessageApplication], messageReference: Option[MessageReference], flags: Option[MessageFlags]) extends Product with Serializable

    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

    type

    Activity type.

    partyId

    Party id from rich presence.

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

    A raw presence.

    A raw presence.

    user

    A partial user.

    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

    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