UNPKG

@tryforge/forgescript

Version:

ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.

27 lines 997 B
"use strict"; /* * SPDX-License-Identifier: GPL-3.0-or-later * Copyright © 2025 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); const DiscordEventHandler_1 = require("../../structures/extended/DiscordEventHandler"); exports.default = new DiscordEventHandler_1.DiscordEventHandler({ name: "messageReactionRemoveEmoji", version: "1.4.0", description: "This event is fired when an emoji is removed from a message's reactions", intents: ["GuildMessageReactions", "DirectMessageReactions"], listener: async function (m) { const commands = this.commands.get("messageReactionRemoveEmoji"); for (const command of commands) { core_1.Interpreter.run({ obj: m, command, client: this, data: command.compiled.code, args: [], }); } }, }); //# sourceMappingURL=messageReactionRemoveEmoji.js.map