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.

24 lines 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$toUpperCase", version: "1.0.0", description: "Makes a string uppercase", unwrap: true, output: structures_1.ArgType.String, args: [ { name: "string", description: "The string to turn uppercase", type: structures_1.ArgType.String, rest: true, required: true, }, ], brackets: true, execute(ctx, [values]) { return this.success(values.join(";").toUpperCase()); }, }); //# sourceMappingURL=toUpperCase.js.map