@wilcosp/rex
Version:
Rex is an automated command manager for discord js
15 lines (14 loc) • 623 B
JavaScript
/*!
* 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/.
*/
import { ApplicationCommandOptionType } from "discord-api-types/v10";
import { RexSlashCommandNumberOptionBase } from "./numberOptionBase.js";
import { z } from "zod";
const zn = z.number().int().nonnegative();
export class RexSlashCommandIntegerOption extends RexSlashCommandNumberOptionBase {
constructor(name, description) {
super(name, description, ApplicationCommandOptionType.Integer);
}
}