djs-questions

13317 threads · Page 94 of 267

Change voice channel name 2 messages
wraith ember How can i go about changing a discord voice channel name with discordjs?
Events.GuildMembersChunk 3 messages
clever grail wtf is this?
node
"Interaction has already been acknowledged." discord.js bot 7 messages
wet heron So my bot has been giving me this error where it either says "Interaction has already been acknowledged" or "Unknown int...
node
Fetching thread from Forum Channel Message 6 messages
manic vault For some reason I'm having trouble fetching the thread from a forum channel's message. I'm listening for reactions, but ...
Get multiple select menu values on submit 11 messages
gaunt juniper Searched around but couldn't find a solution to this. I'm essentiall building a time/date form with a submit button. (S...
How to grab sublinks from a website using Node.js 5 messages
node
Searching for a directory that is non-existent 3 messages
wary thistle Hello, I keep trying to figure this out but the code is not working and keeps trying to look for a directory thats not m...
node
Mention without Pinging 2 messages
tall brook Hey, Iw it possible to send a message via discordjs wehre I am mentioning a member but without them to recieve a ping?
node @discordjs package
Circular dependency 5 messages
mellow harness Hi, I'm new to creating bots, and this is my first bot. The idea is to make an rpg bot, integrated with my server. When ...
invite.delete() 2 messages
shell fog ```js for (const invite of invites.values()) { if (invite.uses === undefined) { continue; // ski...
How to check mutual servers with user? 3 messages
create a loop to post the /cmd 6 messages
stoic terrace Hi ! My question is about rate / action limits. I have a private bot, and when I want to add some /cmd I use ` applicati...
node @discordjs package
DiscordAPIError[10070]: Unknown Guild Scheduled Event 13 messages
cursive lark I've been working on a bot that handles Guild Scheduled Events. While implementing the GuildScheduledEventDelete event, ...
Build Error when compiling latest version of discord.js 8 messages
finite horizon Hi, I've tried googling for this but I've found nothing. I've tried to compile discord.js to run on a AWS lambda (which ...
Cannot read properties of undefined (reading 'FLAGS') 4 messages
wary thistle I get the error above, here is the error: ```Uncaught TypeError TypeError: Cannot read properties of undefined (reading ...
node
How to fetch an command interaction and extract message 11 messages
oblique hound I'm trying to fetch a interaction message, the resulting Message object's `content` key has bot's reply in it. How can I...
How do I install djs v13? 2 messages
rose gyro whats the command for it? npm install...??
How do I start making a code? 21 messages
hot stone Howdy! I'm a new developer to discord.js! I am wondering, how do I start making a code for my discord bot?
Property `getString` does not exist on valid object? 13 messages
wind terrace d.js version: `v14.13.0` node version: `v18.16.0` Just quickly porting my code to windows to make sure everything is wo...
Shards problems 7 messages
vapid rover Hello, since 2 p.m. yesterday, the bot that I have which was working perfectly well is giving me shard errors. Knowing t...
Intents error? 11 messages
heady marsh so a friend of mine sent me his discord.js bot and well when I configured the .env stuff and pressed run the repl broke ...
How to add localization to .addChoices functions? 3 messages
tender flame Hi all! The question is how can I localize the choices, I just don’t understand how to implement it😅
Connection Timeout Error 2 messages
unique jay hey guys im really new to all this, im trying to set up a bot and i cant figure out why im getting this connection timeo...
DiscordAPError[10062]: Unknown Interaction 47 messages
shell fog ```ts const event: BotEvent = { name: Events.InteractionCreate, once: false, async execute(interaction: Int...
catch message.delete() 2 messages
rigid knot how to catch() the `message.delete()` method, I'm using: ```js message.delete().catch(err => { console.log(err) }) ``` b...
Bot send multiple message unpredictably 7 messages
vocal axle I'm using discord.js v14.11.0, node v16.20.0, typescript v5.0.4 and forever v3.0.4. I saw there is a question post about...
node @discordjs package
ACTIVITY_JOIN Event 3 messages
hard marsh I want to make "ask to join" things but idk how can i get ACTIVITY_JOIN event
RPC
JS heap size memory error 10 messages
Buttons! 23 messages
magic gulch Having an error with some buttons. Developing in replit, Invalid form body error. ```const { Client, GatewayIntentBits, ...
node
How to end this argument string? (and how to make the code.. work?) 11 messages
magic gulch Developing in replit, giving me an error with syntax errors, argument string errors and the bunch. Thanks for the help. ...
node
Setting a limit on number of subscribers to a Scheduled Event 2 messages
cursive lark Is there any way to set a maximum capacity of number of people to a scheduled event? There doesn't seem to be an option ...
BOT SEND MULTIPLE MESSAGE 9 messages
empty bay Hey I have a problem my bot spam message in channel but I want just send one message and update it and I don’t know how ...
node
code to servermute all users in a voice channel 6 messages
tame edge Have been trying to figure out how to implement a command that when the trigger command is used then it would server mut...
node
Help with bot 25 messages
gritty dune I'm trying to make a bot that when a user uses a specific command like "!dm", the bot dm them saying something positive....
node
Unknown Channel 16 messages
rigid knot I'm using this code below to edit every new channel or an edited channel to deny `SendMessages` for Mute-Role, and deny ...
Call client in another file 19 messages
twin terrace Hello ! I have my client instance declared in my index.ts as usual and would like to be able to call it in another file ...
node
Help 8 messages
marsh sable Code - https://pastebin.com/s8s53Cqj Error - ``` C:\Users\User\Desktop\Музыкальный Бот\src\structures\MusicClient.js:1...
Discord.js Inbedded buttons not wokring 9 messages
honest kindle "TypeError: Cannot read properties of undefined (reading 'PRIMARY') at Object.execute (/Users/lex/TheHierarchysBot/B...
functions across modules returning undefined 2 messages
balmy shell i have a function in another script (being imported): ```js (async () => { const channel = client.channels.cache.g...
node
How to register slash commands in Typescript 6 messages
burnt trench I do apologize for asking a simple and basic question here, but I've already searched for it here and google but couldn'...
node @discordjs package
Slash command only for bot owner 4 messages
hardy seal How to set permissions that some command can only visible to bot owner across all servers bot is in?
Command Handler Not Working?? 26 messages
noble brook My discord bot does not respond to slash commands, and I do not know the reason why?
DISCORD STATUT 19 messages
empty bay Hey I want set a statut to my bot discord but he don’t set this is my code : ```const { Client, GatewayIntentBits } = r...
node
Delete the message to clicked button 2 messages
marsh sable How to delete the message under which the buttons are when this button is clicked?
Direct Messages Not Receiving 5 messages
honest kindle My discord bot does not see or recieve direct messages, I have partials on and all the intents logging and error checkin...
Embed color not working 2 messages
zinc willow As soon as i add the color code, it stops working.
Used disallowed Intents 2 messages
zinc willow So i got this code from a friend who supposedly used all intents (pic provided) and warned me to use the ones i need, bu...
bunx create-discord-bot defaulting to npm 13 messages
reef nest bun version: 1.0.3 node version: 18.18.0 when running bunx create-discord-bot I get the message: Detected an unsupporte...
bun
Bot deleted off dashboard, what happens to code? 18 messages
wary thistle Hi, I had to delete my bot off of the discord dev dashboard, and created a new one and assigned the token and all the st...
node
Problems with a command 16 messages
sand hearth I'm creating a poll system, this command will have subcommands and stuff. The problem it's that when I test the comman...
node