Skip to main content
Module

x/harmony/deploy.ts>SlashClient#verifyFetchEvent

An easy to use Discord API Library for Deno.
Go to Latest
method SlashClient.prototype.verifyFetchEvent
import { SlashClient } 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>