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.

33 lines 1.12 kB
"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: "guildSoundboardSoundDelete", version: "2.4.0", description: "This event is fired when a soundboard sound is deleted", listener: async function (s) { const commands = this.commands.get("guildSoundboardSoundDelete"); for (const command of commands) { core_1.Interpreter.run({ obj: s, command, client: this, states: { soundboardSound: { new: s, old: s }, }, data: command.compiled.code, args: [], }); } }, intents: ["GuildExpressions"], }); //# sourceMappingURL=guildSoundboardSoundDelete.js.map