BannedMember represents a banned guild member.

Hierarchy

  • Base<string>
    • BannedMember

Constructors

Properties

Accessors

Methods

Constructors

Properties

ban: {
    bannedBy: string;
    createdAt: null | Date;
    reason?: string;
}

Information about the banned member (object)

Type declaration

  • bannedBy: string

    ID of the member who banned this member.

  • createdAt: null | Date

    When the member has been banned.

  • Optional reason?: string

    Reason of the ban

client: Client

Bot's client.

guildID: string

Server ID.

id: string

Item ID

member: null | Member

Banned member, if cached.

user: User

Banned user.

Accessors

Methods