Welltag
Explore posts from serversVVALORANT
•Created by Welltag on 3/4/2024 in #community-help
Crash error
Hello, im using a laptop, when i launch (or play) valorant with my mousse its ok, but when i put my hand on the touchpad of my laptop, my windows crash with this error
IRQL_not_less_or_equal
someone know why vanguard do that, and how can i fix it4 replies
DIAdiscord.js - Imagine an app
•Created by Welltag on 7/13/2023 in #djs-questions
banner
How to display banner ? I tried to fetch user.bannerURL or banner, but it dosent work, i have this error
If someone can help me pls
C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1104
return Result.err(new CombinedError(errors));
^
CombinedError: Received one or more errors
at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1104:23)
at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: [
ValidationError: Expected undefined or null
at NullishValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:764:79)
at NullishValidator.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:198:23)
at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1099:32)
at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
validator: 's.nullish',
given: ''
},
ExpectedConstraintError: Invalid URL
at Object.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1605:27)
at StringValidator.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:202:27)
at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1099:32)
at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
constraint: 's.string.url',
given: '',
expected: 'expected to match a URL'
}
]
}
C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1104
return Result.err(new CombinedError(errors));
^
CombinedError: Received one or more errors
at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1104:23)
at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: [
ValidationError: Expected undefined or null
at NullishValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:764:79)
at NullishValidator.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:198:23)
at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1099:32)
at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
validator: 's.nullish',
given: ''
},
ExpectedConstraintError: Invalid URL
at Object.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1605:27)
at StringValidator.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:202:27)
at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1099:32)
at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
constraint: 's.string.url',
given: '',
expected: 'expected to match a URL'
}
]
}
14 replies
DIAdiscord.js - Imagine an app
•Created by Welltag on 7/4/2023 in #djs-questions
Modal Error
const { SlashCommandBuilder, ActionRowBuilder, Events, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName("form")
.setDescription("Description ICI."),
async execute(interaction, client) {
const modal = new ModalBuilder()
.setCustomId('form')
.setTitle('Informations.');
const duree = new TextInputBuilder()
.setCustomId('duree')
.setRequired(true)
.setLabel("La durée du service")
.setPlaceholder('En mois.')
.setStyle(TextInputStyle.Short);
const userid = new TextInputBuilder()
.setCustomId('userid')
.setRequired(true)
.setLabel("Id de l'utilisateur")
.setStyle(TextInputStyle.Short);
const email = new TextInputBuilder()
.setCustomId('email')
.setRequired(true)
.setLabel("email de l'utilisateur")
.setStyle(TextInputStyle.Short);
const type = new TextInputBuilder()
.setCustomId("type")
.setRequired(true)
.setLabel("Type de service")
.setStyle(TextInputStyle.Short);
const vmid = new TextInputBuilder()
.setCustomId("vmid")
.setRequired(true)
.setLabel("ID VM")
.setStyle(TextInputStyle.Short);
const ip = new TextInputBuilder()
.setCustomId("ip")
.setRequired(true)
.setLabel("IP")
.setStyle(TextInputStyle.Short);
const dr = new ActionRowBuilder().addComponents(duree);
const ui = new ActionRowBuilder().addComponents(userid);
const el = new ActionRowBuilder().addComponents(email);
const tp = new ActionRowBuilder().addComponents(type);
const vi = new ActionRowBuilder().addComponents(vmid);
const ipvm = new ActionRowBuilder().addComponents(ip);
modal.addComponents(dr, ui, el, tp, vi, ipvm);
await interaction.showModal(modal);
}
};
const { SlashCommandBuilder, ActionRowBuilder, Events, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName("form")
.setDescription("Description ICI."),
async execute(interaction, client) {
const modal = new ModalBuilder()
.setCustomId('form')
.setTitle('Informations.');
const duree = new TextInputBuilder()
.setCustomId('duree')
.setRequired(true)
.setLabel("La durée du service")
.setPlaceholder('En mois.')
.setStyle(TextInputStyle.Short);
const userid = new TextInputBuilder()
.setCustomId('userid')
.setRequired(true)
.setLabel("Id de l'utilisateur")
.setStyle(TextInputStyle.Short);
const email = new TextInputBuilder()
.setCustomId('email')
.setRequired(true)
.setLabel("email de l'utilisateur")
.setStyle(TextInputStyle.Short);
const type = new TextInputBuilder()
.setCustomId("type")
.setRequired(true)
.setLabel("Type de service")
.setStyle(TextInputStyle.Short);
const vmid = new TextInputBuilder()
.setCustomId("vmid")
.setRequired(true)
.setLabel("ID VM")
.setStyle(TextInputStyle.Short);
const ip = new TextInputBuilder()
.setCustomId("ip")
.setRequired(true)
.setLabel("IP")
.setStyle(TextInputStyle.Short);
const dr = new ActionRowBuilder().addComponents(duree);
const ui = new ActionRowBuilder().addComponents(userid);
const el = new ActionRowBuilder().addComponents(email);
const tp = new ActionRowBuilder().addComponents(type);
const vi = new ActionRowBuilder().addComponents(vmid);
const ipvm = new ActionRowBuilder().addComponents(ip);
modal.addComponents(dr, ui, el, tp, vi, ipvm);
await interaction.showModal(modal);
}
};
/home/container/node_modules/@discordjs/rest/dist/index.js:640
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[50035]: Invalid Form Body
data.components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 5 in length.
at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:640:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async BurstHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:736:23)
at async REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1387:22)
at async ChatInputCommandInteraction.showModal (/home/container/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:253:5)
at async Object.execute (/home/container/src/commands/Bot/form.js:58:3) {
requestBody: {
files: undefined,
json: {
type: 9,
data: {
custom_id: 'form',
title: 'Informations.',
components: [
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] }
]
}
}
},
rawError: {
code: 50035,
errors: {
data: { components: { _errors: [ [Object] ] } }
},
message: 'Invalid Form Body'
},
code: 50035,
status: 400,
method: 'POST',
/home/container/node_modules/@discordjs/rest/dist/index.js:640
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[50035]: Invalid Form Body
data.components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 5 in length.
at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:640:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async BurstHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:736:23)
at async REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1387:22)
at async ChatInputCommandInteraction.showModal (/home/container/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:253:5)
at async Object.execute (/home/container/src/commands/Bot/form.js:58:3) {
requestBody: {
files: undefined,
json: {
type: 9,
data: {
custom_id: 'form',
title: 'Informations.',
components: [
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] },
{ type: 1, components: [Array] }
]
}
}
},
rawError: {
code: 50035,
errors: {
data: { components: { _errors: [ [Object] ] } }
},
message: 'Invalid Form Body'
},
code: 50035,
status: 400,
method: 'POST',
6 replies