Hierarchy

  • MemberBansService

Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Create a server ban Also known as banning a server member

    Throws

    ApiError

    Parameters

    • options: {
          requestBody?: {
              reason?: string;
          };
          serverId: string;
          userId: string;
      }
      • Optional requestBody?: {
            reason?: string;
        }
        • Optional reason?: string

          The reason for the ban

      • serverId: string
      • userId: string

        The ID of the user to ban from this server

    Returns CancelablePromise<{
        serverMemberBan: ServerMemberBanPayload;
    }>

    any Success

Generated using TypeDoc