Change to number type
This commit is contained in:
parent
dc9a11b444
commit
9acc93c6f3
8
index.js
8
index.js
|
@ -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
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue