import { SlashClient } from "https://deno.land/x/harmony@v2.9.1/deploy.ts";
Slash Client represents an Interactions Client which can be used without Harmony Client.
Methods
Get Handler for an autocomplete Interaction. Supports nested sub commands and sub command groups.
Get Handler for an Interaction. Supports nested sub commands and sub command groups.
Get Handler for an component Interaction.
Get Handler for an modal submit Interaction.
Process an incoming Interaction
Add a handler for autocompletions (for application command options).
Verify FetchEvent (for Service Worker usage) and return Interaction if valid
Verify HTTP based Interaction
Method to verify Request from Oak server "Context".
Middleware to verify request in Opine framework.
Verify Deno Std HTTP Server Request and return Interaction.
Data present in Interaction returned by this method is very different from actual typings
as there is no real Client
behind the scenes to cache things.