RBWCM-SDK Documentation - v1.1.0
    Preparing search index...

    Interface BanUserDto

    Data Transfer Object for banning a user.

    interface BanUserDto {
        bannedBy: string;
        expiresAt?: Date | null;
        reason?: string | null;
    }
    Index

    Properties

    bannedBy: string

    The discord ID of the staff member issuing the ban

    expiresAt?: Date | null

    The date and time when the ban should expire. Optional for permanent bans.

    reason?: string | null

    The reason for the ban. Optional but recommended for record-keeping.