Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/harmony/src/commands/command.ts>Command#afterExecute

An easy to use Discord API Library for Deno.
Latest
method Command.prototype.afterExecute
import { Command } from "https://deno.land/x/harmony@v2.9.1/src/commands/command.ts";

Method executed after executing command, passes on CommandContext and the value returned by execute too. (optional)

Parameters

executeResult: T

Returns

unknown | Promise<unknown>