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.

25 lines 753 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$stickerDescription", version: "1.4.0", description: "Returns a sticker's description", brackets: false, unwrap: true, args: [ { name: "sticker ID", description: "The sticker to pull description of", rest: false, required: true, type: structures_1.ArgType.Sticker } ], output: structures_1.ArgType.String, execute(ctx, [s]) { s ??= ctx.sticker; return this.success(s?.description); }, }); //# sourceMappingURL=stickerDescription.js.map