Packages

c

ackcord.data

OptionalAuditLogInfo

case class OptionalAuditLogInfo(channelId: Option[TextChannelId], count: Option[String], deleteMemberDays: Option[String], id: Option[UserOrRoleId], membersRemoved: Option[String], messageId: Option[MessageId], roleName: Option[String], type: Option[PermissionOverwriteType]) extends Product with Serializable

Extra data for an entry

channelId

The channelId of the deleted message. Present for MemberMove, MessagePin, MessageUnpin, MessageDelete, StageInstanceCreate, StageInstanceUpdate and StageInstanceDelete.

count

The amount of deleted messages. Present for MessageDelete, MessageBulkDelete, MemberDisconnect and MemberMove.

deleteMemberDays

The amount of days before a user was considered inactive and kicked. Present for MemberPrune.

id

The id of the overwritten object. Present for overwrite events.

membersRemoved

The amount of members removed. Present for MemberPrune.

messageId

The message that was targeted. Present for MessagePin and MessageUnpin.

roleName

The name of the role. Present for overwrite events if type == Role.

Source
auditlog.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionalAuditLogInfo
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OptionalAuditLogInfo(channelId: Option[TextChannelId], count: Option[String], deleteMemberDays: Option[String], id: Option[UserOrRoleId], membersRemoved: Option[String], messageId: Option[MessageId], roleName: Option[String], type: Option[PermissionOverwriteType])

    channelId

    The channelId of the deleted message. Present for MemberMove, MessagePin, MessageUnpin, MessageDelete, StageInstanceCreate, StageInstanceUpdate and StageInstanceDelete.

    count

    The amount of deleted messages. Present for MessageDelete, MessageBulkDelete, MemberDisconnect and MemberMove.

    deleteMemberDays

    The amount of days before a user was considered inactive and kicked. Present for MemberPrune.

    id

    The id of the overwritten object. Present for overwrite events.

    membersRemoved

    The amount of members removed. Present for MemberPrune.

    messageId

    The message that was targeted. Present for MessagePin and MessageUnpin.

    roleName

    The name of the role. Present for overwrite events if type == Role.

Value Members

  1. val channelId: Option[TextChannelId]
  2. val count: Option[String]
  3. val deleteMemberDays: Option[String]
  4. val id: Option[UserOrRoleId]
  5. val membersRemoved: Option[String]
  6. val messageId: Option[MessageId]
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. val roleName: Option[String]
  9. val type: Option[PermissionOverwriteType]