import { InteractionsClient } from "https://deno.land/x/harmony@v2.8.0/src/interactions/client.ts";
Slash Client represents an Interactions Client which can be used without Harmony Client.
Constructors
Properties
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.
Process an incoming Interaction
Add a handler for autocompletions (for application command options).
Fetch Application of the Client (if Token is present)
Get all Handlers. Including Slash Modules
Adds a new Application Command Handler
Load a Slash Module
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.