UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

19 lines (18 loc) 817 B
"use strict"; /*! * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.RexSlashCommandIntegerOption = void 0; const v10_1 = require("discord-api-types/v10"); const numberOptionBase_js_1 = require("./numberOptionBase.js"); const zod_1 = require("zod"); const zn = zod_1.z.number().int().nonnegative(); class RexSlashCommandIntegerOption extends numberOptionBase_js_1.RexSlashCommandNumberOptionBase { constructor(name, description) { super(name, description, v10_1.ApplicationCommandOptionType.Integer); } } exports.RexSlashCommandIntegerOption = RexSlashCommandIntegerOption;