Interface JSONBannedMember

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

Hierarchy

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.

  • Optional reason?: string

    Reason of the ban

guildID: string

Server ID.

id: string