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.

16 lines 558 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$launchActivity", version: "2.4.0", description: "Launches the activity of the client, if enabled", unwrap: false, async execute(ctx) { if (ctx.interaction && "launchActivity" in ctx.interaction) { await ctx.interaction.launchActivity(); } return this.success(); }, }); //# sourceMappingURL=launchActivity.js.map