PAIDODAMASTIS
PAIDODAMASTIS
DIAdiscord.js - Imagine an app
Created by PAIDODAMASTIS on 2/7/2024 in #djs-questions
i want to put the executor name in the embed ban message but i have an error
j
18 replies
DIAdiscord.js - Imagine an app
Created by PAIDODAMASTIS on 1/30/2024 in #djs-questions
hey iam builduin a ticket system for my bot with slash command and deploy command buti hav an error
it works fine and it shows the slash command in discord but when i execute it it says this error Error opening ticket: DiscordAPIError[50035]: Invalid Form Body name[BASE_TYPE_REQUIRED]: This field is required pls help me i dk how to fix it
39 replies
DIAdiscord.js - Imagine an app
Created by PAIDODAMASTIS on 1/29/2024 in #djs-questions
hey i am trying to make a ticket system with a slash command for my bot and i have an error
my code is missing a required "data" or "execute" property.
4 replies
DIAdiscord.js - Imagine an app
Created by PAIDODAMASTIS on 1/29/2024 in #djs-questions
Hey i got this error
ValidationError: Expected a string primitive
5 replies
DIAdiscord.js - Imagine an app
Created by PAIDODAMASTIS on 1/28/2024 in #djs-questions
how do i change from guild command registration to global command registration
my bot slash commands work in only one server and i want to change it to global i ve read the discord.js guide but i am still trying can someone help?
3 replies
DIAdiscord.js - Imagine an app
Created by PAIDODAMASTIS on 1/28/2024 in #djs-questions
Guys pls someone help me with this i am writing i wanna put slash commands to my bot but i cant
TypeError: Cannot read properties of undefined (reading 'cache') its discord.js v14 const guild = client.guild.cache.get(guildId) if (!guild) { console.error(Guild with the ${guild} was not found); } guild.commands.set(commands).catch((error => { console.error(error setting commands for guild ${guild.name} (${guild.id}):, error); })); } client.on('interactionCreate', async (Interaction) => { try { if(Interaction.CommandName === 'mimic') { const mimic = interaction.options.getString('say'); await interaction.reply(you said: \n${mimic}); } } catch (error) { console.error(error); } })
31 replies