Class Probot

Constructors

Properties

auth: ((installationId?: number, log?: Logger) => Promise<Octokit & {} & {} & RestEndpointMethods & Api & API>)
log: Logger
on: (<E>(event: E | E[], callback: HandlerFunction<E, SimplifiedObject>) => void)
onAny: ((callback: ((event: EmitterWebhookEvent) => any)) => void)
onError: ((callback: ((event: WebhookEventHandlerError<SimplifiedObject>) => any)) => void)
version: String
webhookPath: string
webhooks: ProbotWebhooks
version: string = VERSION

Methods

  • Parameters

    • event: EmitterWebhookEvent

    Returns Promise<void>