Skip to main content
Module

x/harmony/deploy.ts>InteractionsClient#verifyFetchEvent

An easy to use Discord API Library for Deno.
Go to Latest
method InteractionsClient.prototype.verifyFetchEvent
Re-export
import { InteractionsClient } from "https://deno.land/x/harmony@v2.9.0/deploy.ts";

Verify FetchEvent (for Service Worker usage) and return Interaction if valid

Parameters

unnamed 0: { respondWith: CallableFunction; request: Request; }

Returns

Promise<false | Interaction>