Create a instance of the command helper utility. You pass in a droff client and specify a prefix or prefix function.
Example:
import * as Commands from "droff-commands";const createCommand = Commands.create(client)("!");const createCommandWithCustomPrefix = Commands.create(client)(async (guild) => getPrefixForGuild(guild),);
Generated using TypeDoc
Create a instance of the command helper utility. You pass in a droff client and specify a prefix or prefix function.
Example: