Class ServerBan

Server Ban

Hierarchy

  • ServerBan

Constructors

Properties

Accessors

Methods

Constructors

  • Construct Server Ban

    Parameters

    • client: Client

      Client

    • data: {
          _id: {
              server: string;
              user: string;
          };
          reason?: null | string;
      }

      Data

      • _id: {
            server: string;
            user: string;
        }

        Description

        Unique member id

        • server: string

          Description

          Server Id

        • user: string

          Description

          User Id

      • Optional reason?: null | string

        Description

        Reason for ban creation

    Returns ServerBan

Properties

client: Client
id: {
    server: string;
    user: string;
}

Type declaration

  • server: string

    Description

    Server Id

  • user: string

    Description

    User Id

reason?: string

Accessors

Methods

Generated using TypeDoc