meocord
Version:
Decorator-based Discord bot framework built on discord.js. Brings NestJS-style controllers, dependency injection, guards, and testing utilities to bot development — with a full CLI and TypeScript-first design.
24 lines (20 loc) • 910 B
JavaScript
;
var metadataKey_enum = require('../_shared/metadata-key.enum-BzzvGUId.cjs');
var CommandType = /*#__PURE__*/ function(CommandType) {
CommandType["SLASH"] = "SLASH";
CommandType["BUTTON"] = "BUTTON";
CommandType["CONTEXT_MENU"] = "CONTEXT_MENU";
CommandType["SELECT_MENU"] = "SELECT_MENU";
CommandType["MODAL_SUBMIT"] = "MODAL_SUBMIT";
return CommandType;
}({});
/**
* Enum representing actions that can be performed on a message reaction.
*/ var ReactionHandlerAction = /*#__PURE__*/ function(ReactionHandlerAction) {
/** Reaction added to a message. */ ReactionHandlerAction["ADD"] = "ADD";
/** Reaction removed from a message. */ ReactionHandlerAction["REMOVE"] = "REMOVE";
return ReactionHandlerAction;
}({});
exports.MetadataKey = metadataKey_enum.MetadataKey;
exports.CommandType = CommandType;
exports.ReactionHandlerAction = ReactionHandlerAction;