Class BannedUser

Banned User

Hierarchy

  • BannedUser

Constructors

Properties

Constructors

  • Construct Banned User

    Parameters

    • client: Client

      Client

    • data: {
          _id: string;
          avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          discriminator: string;
          username: string;
      }

      Data

      • _id: string

        Description

        Id of the banned user

      • Optional avatar?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }

        Description

        Avatar of the banned user

      • discriminator: string

        Description

        Discriminator of the banned user

      • username: string

        Description

        Username of the banned user

    Returns BannedUser

Properties

avatar?: File
discriminator: string
id: string
username: string

Generated using TypeDoc