@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 • 743 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const discord_js_1 = require("discord.js");
const structures_1 = require("../../structures");
exports.default = new structures_1.NativeFunction({
name: "$subtext",
version: "2.2.0",
description: "Makes given text a subtext",
unwrap: true,
brackets: true,
output: structures_1.ArgType.String,
args: [
{
name: "text",
description: "The text to make subtext",
rest: false,
required: true,
type: structures_1.ArgType.String
}
],
execute(ctx, [str]) {
return this.success((0, discord_js_1.subtext)(str));
},
});
//# sourceMappingURL=subtext.js.map
;