@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.
36 lines • 1.48 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.StickerProperties = exports.StickerProperty = void 0;
const discord_js_1 = require("discord.js");
const defineProperties_1 = __importDefault(require("../functions/defineProperties"));
var StickerProperty;
(function (StickerProperty) {
StickerProperty["guildID"] = "guildID";
StickerProperty["name"] = "name";
StickerProperty["id"] = "id";
StickerProperty["timestamp"] = "timestamp";
StickerProperty["url"] = "url";
StickerProperty["format"] = "format";
StickerProperty["available"] = "available";
StickerProperty["tags"] = "tags";
StickerProperty["sortValue"] = "sortValue";
StickerProperty["packID"] = "packID";
StickerProperty["description"] = "description";
})(StickerProperty || (exports.StickerProperty = StickerProperty = {}));
exports.StickerProperties = (0, defineProperties_1.default)({
guildID: (i) => i?.guild?.id,
id: (i) => i?.id,
name: (i) => i?.name,
url: (i) => i?.url,
timestamp: (i) => i?.createdTimestamp,
format: i => discord_js_1.StickerFormatType[i?.format],
available: i => i?.available,
description: i => i?.description,
tags: (i, sep) => i?.tags,
sortValue: i => i?.sortValue,
packID: i => i?.packId
});
//# sourceMappingURL=sticker.js.map
;