Interface JSONBannedMember

interface JSONBannedMember {
    ban: {
        bannedBy: string;
        createdAt: null | Date;
        reason?: string;
    };
    guildID: string;
    id: string;
}

Hierarchy (view full)

Properties

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.

  • Optionalreason?: string

    Reason of the ban

guildID: string

Server ID.

id: string