class Context
implements ContextFunctions
Re-export
import { Context } from "https://deno.land/x/oasis@2.1.0/mod.ts";
The Oasis Context class
Constructors
Properties
readonly
bot: TThe bot can be modified with a middleware before passing it to the Context class So Context.bot is generic but readonly
readonly
optional
interactionContext: InteractionContextreadonly
optional
messageContext: MessageContextMethods
getCommandName(force?: boolean): string | undefined