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.

32 lines 988 B
"use strict"; /* * SPDX-License-Identifier: GPL-3.0-or-later * Copyright © 2025 BotForge */ 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: "$guildVerificationLevel", version: "1.3.0", description: "Returns the server verification level", brackets: false, aliases: [ "$serverVerificationLevel" ], output: discord_js_1.GuildVerificationLevel, args: [ { name: "guild ID", description: "The guild to retrieve the data", rest: false, required: true, type: structures_1.ArgType.Guild, }, ], unwrap: true, execute(ctx, [guild]) { return this.success(discord_js_1.GuildVerificationLevel[(guild ?? ctx.guild)?.verificationLevel]); }, }); //# sourceMappingURL=guildVerificationLevel.js.map