djs-questions

9202 threads · Page 83 of 185

Premium Collection 13 messages
jovial gust So, I'm kind of new, how do I make it so when I run a command that once I put an ID in, it adds a user to a collection. ...
@discordjs/rest with Nextjs 7 messages
pliant sierra I'm using @discordjs/rest in my Nextjs app inside app api folder, it works on dev perfectly fine, but when I try to buil...
998292157150535700
Vocal status 6 messages
uneven wave Hi, I'd like to know with V14 if it's possible to change the status of a voice channel, and if so, how? Please help me.
1150878580193116250
voice.setRTCRegion(null) not working 3 messages
unkempt tartan HI, I have this code to change the region and it works perfectly except the null option ```ts const buildSelectMenu = ...
Any possible big changes from 14.8 till newest 2 messages
scarlet bronze Ayo, i did an instant upgrade, is there any big, mind braking stuff that changes till now?
bot creation 3 messages
tranquil idol i got a error cannot read prpoeries of undefined (reading flag) i saw in video he is using discord js 14 and he didn't ...
Set GuildScheduledEvent image 3 messages
queen glen What's the easiest way for me to add/change the cover image of a Guild Event?
How to install discord.js on google drive? 3 messages
ionic gazelle Sorry, I am new to js, so i dont know how to install packages. ive tried using nmp within vsc terminal, but it didnt wor...
1150878580193116250 998292157150535700
Select Menu error with Typescript 3 messages
kind talon ```ts const select = new StringSelectMenuBuilder() .setCustomId("year") .setPlaceholder("Année scolaire") .a...
1150878580193116250
i want help 25 messages
snow marten what i do
i want help 1 messages
snow marten what i do?
Is there a way to detect when the server pfp image changes? 5 messages
untold imp I was wondering and could not find anything about it
Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMes 43 messages
humble sierra hey! I have error in TypeScript and Discord.js that says "Property 'getUser' does not exist on type 'Omit<CommandInterac...
1150878580193116250
Cache on edit message (?) 27 messages
frosty mulch So I've noticed my bot's memory goes up over time, and narrowed it down to this line: ```dashboard = await oldDashboard...
Bot not able to login. After starting other sample code, logging in with same token, login possible 10 messages
daring zinc Hello there. I'm having a weird problem for a few months now. I also asked here about it an never got it resolved yet. I...
Multi Guild Bot 10 messages
kindred field How would I start developing a multi guild bot? For example if everyone of my users want different welcome messages or p...
Updating Channel Name 4 messages
civic drum Hi im trying to update the channel name every 10 minutes for the server status. But if he is trying to set the name he c...
Updating Channel Name 1 messages
civic drum Hi im trying to update the channel name every 10 minutes for the server status. But if he is trying to set the name he c...
How would I automatically delete a Select Menu. 4 messages
tribal patrol I'm currently trying to automatically delete a select menu once an option has been selected. How would I do this? Thank...
Missing Access 4 messages
vale ether I have an error in my bot. I already invited the bot with bot and applications.commands and it doesn't work, and everyth...
1150878580193116250
is there a way to enable slash commands to work from the discord overlay? 6 messages
ebon patrol Like could I potentially have a message filter in an event that captures someone typing it from the overlay and then tri...
Presence Activity with dynamic data 29 messages
strange yew Hi, I've seen that with some games when someone is queuing for the matchmaking, it shows a timer that is up to date at ...
1150878580193116250
Embeds pagination not working 10 messages
proven drum ```js const { EmbedBuilder, PermissionsBitField } = require("discord.js"); const Server = require("../../Events/Schemas/...
Cooldowns not correctly working 9 messages
warped trench I have attached the hastebin code. I have the commands working however it never puts the command into cooldown and I can...
Emit custom event on button press? 7 messages
rain pine As title says, I was wondering if or how you can emit a custom event when hitting a button. Else it'd be interesting ho...
How do I get Guild ID By interaction or client? 6 messages
slate glen How do I get Guild ID By interaction or client?
Music Bot question! 14 messages
spare minnow Hiya, gonna be completely honest here am not a dev, but... Looking into making/using a music bot on an external host ca...
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'Guilds') 28 messages
brisk monolith Help with code from GPT, im a noob and trying to bite off more than i can chew i think. The error im getting is on line ...
Is there a way to make a discord bot check if another bot is a verified bot? 3 messages
hardy linden For example lets say I add a verified bot like MEE6 and my bot checks if its verified however if i add another bot that ...
'BitFieldInvalid' 5 messages
left grove This is the code, I hope somebody could help me const { Client, GatewayIntentBits } = require('discord.js'); const clie...
Know which device it it 12 messages
near shale Is there a way to know in which device the user is? I have a few interactions that work 100% on the computer/web, but on...
Searchable Select Menu 2 messages
stray vigil I saw a bot that had a select menu that you could use to search through a server's channels and select them. Is there s...
1150878580193116250
I dont know what wrong with the code 13 messages
plush garden ```const { REST } = require("@discordjs/rest"); const { Routes } = require("discord-api-types/v9"); const fs = require("...
How can I not show the status in bot 2 messages
pearl scaffold Like this how
Boost event 2 messages
dawn nymph Hello, I would like to know which event to use to detect a boost (even the second if ever)
Can someone help me creating a bot? 5 messages
midnight minnow I need someone to help me create a discord bot, if you have time, write me a DM and I will reply as quickly as possible
Automatic bot to publish new stuff from YT channel 3 messages
lean wedge Hi, I will start by saying that I am as green as it gets when it comes to such stuff. I wanted to write a bot to help ou...
error 34 messages
turbid flame getting an error ``` /home/runner/rgsbro/node_modules/discord.js/src/structures/PermissionOverwrites.js:184 if (!use...
error 1 messages
turbid flame getting an error ``` /home/runner/rgsbro/node_modules/discord.js/src/structures/PermissionOverwrites.js:184 if (!use...
Discord SKU's/Monetization 7 messages
upbeat swift Can anyone refer me to a yt vid or documentation on setting up discord SKU's? Such as checking whether a user is subscri...
Help with a code from ChatGPT. 7 messages
obtuse pulsar Hey, im mostly new to coding. I have a basic understanding of how the code should look. I can do basic reads. But this ...
1150878580193116250
awaitMessages does not reject on timeout? 13 messages
undone saffron I've got the following simple code collecting a single message from a user: ```javascript const checkUserFilter = i => i...
problem with creating a bot in code 9 messages
icy maple у меня возникла эта проблема TypeError: Cannot read properties of undefined (reading 'FLAGS') at Object.<anonymous> ...
1150878580193116250
node:internal/errors:465 ErrorCaptureStackTrace(err); Error: querySrv ENOTFOUND _mongodb. 4 messages
real cliff im getting this error and idk what to do
ActionRowBuilder type error 8 messages
steel crown Any idea why this I'm getting this type error? It's the components array that is complaining. The components type works ...
Memory leak in discord js 27 messages
prime bone I am currently facing a problem with a memory leak. I don't quite think it's related to discord.js, nevertheless I would...
Waiting for user message in DM. 14 messages
hardy briar I've been trying to get the bot to wait for a message but it keeps logging this error ``` TypeError: Cannot read proper...
1150878580193116250
my bot is unable to read messages 27 messages
hearty fulcrum ``` const { Client, GatewayIntentBits, Intents } = require('discord.js'); const { joinVoiceChannel, createAudioResource...
1150878580193116250
Need help with my role reaction bot pls 1 messages
obsidian kestrel Hello again everyone! I almost managed to get my bot to work but I don't understand why the reaction isn't added when I ...
Issue with Fetching User Details from Reactions in Discord.js 15 messages
dark schooner Hi! I'm encountering a challenge with retrieving user details from message reactions. Below is a detailed breakdown of m...