Change to number type

This commit is contained in:
Christopher Cookman 2024-08-20 14:42:21 -06:00
parent dc9a11b444
commit 9acc93c6f3
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -7,7 +7,7 @@ const fs = require("fs")
const { url } = require("inspector")
const sqlite3 = require("sqlite3").verbose()
noblox.setCookie(process.env.COOKIE)
if (process.env.COOKEI) noblox.setCookie(process.env.COOKIE);
const Client = new Discord.Client({
intents: [
@ -126,7 +126,7 @@ Client.on("ready", async () => {
{
name: "user",
description: "The user ID to ban",
type: 3,
type: Discord.ApplicationCommandOptionType.Number,
required: true
},
{
@ -146,7 +146,7 @@ Client.on("ready", async () => {
{
name: "user",
description: "The user ID to unban",
type: 3,
type: Discord.ApplicationCommandOptionType.Number,
required: true,
}
]
@ -159,7 +159,7 @@ Client.on("ready", async () => {
{
name: "user",
description: "The user ID to check",
type: 3,
type: Discord.ApplicationCommandOptionType.Number,
required: true
}
]