UNPKG

meocord

Version:

MeoCord is a lightweight and modular framework for building scalable Discord bots using TypeScript and Discord.js. It simplifies bot development with an extensible architecture, TypeScript-first approach, and powerful CLI tools.

19 lines 1.32 kB
/** * MeoCord Framework * Copyright (C) 2025 Ukasyah Rahmatullah Zada * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */export var ControllerType=/*#__PURE__*/function(a){return a.BUTTON="button",a.MODAL_SUBMIT="modal-submit",a.SELECT_MENU="select-menu",a.REACTION="reaction",a.MESSAGE="message",a.SLASH="slash",a.CONTEXT_MENU="context-menu",a}({});export var CommandType=/*#__PURE__*/function(a){return a.SLASH="SLASH",a.BUTTON="BUTTON",a.CONTEXT_MENU="CONTEXT_MENU",a.SELECT_MENU="SELECT_MENU",a.MODAL_SUBMIT="MODAL_SUBMIT",a}({});/** * Enum representing actions that can be performed on a message reaction. */export var ReactionHandlerAction=/*#__PURE__*/function(a){return a.ADD="ADD",a.REMOVE="REMOVE",a}({});