djs-questions

13317 threads · Page 85 of 267

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...
node
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 do I auto \n for every 26 letters? 3 messages
How can I not show the status in bot 2 messages
pearl scaffold Like this how
presenceUpdate event 20 messages
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...
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. 8 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 ...
node
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> ...
node
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...
node
my bot is unable to read messages 27 messages
hearty fulcrum ``` const { Client, GatewayIntentBits, Intents } = require('discord.js'); const { joinVoiceChannel, createAudioResource...
node
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...
Simple code assistance! 11 messages
rare lantern Anyone knows what the issue is with this node.js code?
node @discordjs package
MySQL db making my brain implode 9 messages
fading crystal I have 3 files involved in this
Can large files cause abortion errors? 5 messages
jagged folio My bot sends a .png file across many servers. Most of the come out with abortion errors, meaning the API request timed o...
How can I pull up the person's status? 26 messages
warm scaffold I'm trying member.presence it's giving null
If statement as stated in FAQ failing? 6 messages
dense blaze I have the following code, to attempt to restrict a command to only myself, as the wiki states [here](https://discordjs....
@discordjs package
Random 18 messages
old orchid Making a slashcommand having multiple possible answer and making them completly different ( like 5 choices ) BUT it don'...
Sharding times out after several other shards launched successfully 10 messages
prime bone Good afternoon everybody, I'm currently stuck with a sharding problem that only occurs on my external VPS. At the moment...
how can i turn off the mention when replying to a message? 3 messages
rapid bay i'm trying to have my bot reply to people but not ping them, i've tried supplying the reply method with the flag `Suppre...
node
very quick question and clarification 10 messages
cursive panther https://discord.com/channels/222078108977594368/1144684037919756508/1144685393166483479 Regarding that message. Bots can...
node
Scheduled message causes duplicate messages in sharded app 12 messages
subtle sandal I have a sharded bot that sends reminders, but sometimes the bot sends duplicate messages. I'm not sure how to prevent t...
bulkDelete erroring: invalid int value 9 messages
idle brook Hey everyone, I hope you're doing well. I'm currently facing an issue with the `channel.bulkDelete()` function in Disco...
node
Refresh autocomplete options with that's dependent on the other parameter 6 messages
remote kite I have a slash command with two parameters, first is the user and the second parameter is an autocomplete that is based ...
How do you edit a specific message without it's interaction? 2 messages
cinder furnace I'm using a button below a embed and I'm trying to edit the embed above the button when the button is clicked. Is there ...
Bot website? 6 messages
hallow saddle I'm making a website for my Discord.js bot, but have no idea how to do it. I'm using Wix Studio because then I can make ...
node
First Example from the site doesn't work. 3 messages
gleaming crypt The very first example to work with and get an idea of tells me "Cannot use import statement outside a module" Do we hav...
Get value of the MesageButton Label in Djs v13 4 messages
unreal lark Hey, have a quick question. Im making a message button for a poll command, and when the button is clicked, I want to tak...
Set a Discord's Default Emoji in a ButtonBuilder 6 messages
crimson edge Hi, I'm trying to set this discord's default emoji in the method setEmoji in a ButtonBuilder, but when sending the compo...
Setting up try catch for TypeError's 7 messages
terse trout Hello I am trying to setup a try catch for errors caused when the code interaction.reply() is ran. But it seems like the...
How to keep listening to messages from a specific channel? 3 messages
zealous nest I've tried two ways but I cannot get any message: ```js // on messageCreate module.exports = { name: Events.MessageCr...
How do i find out how long until a queue request until send and how to cancel a queue request 9 messages
civic coyote I am making a Temp Voice Channel Bot. If my bot renames the channel more then 2 Times per 10 minutes its getting queued...
Why does .content not work when it is in the array? 21 messages
untold imp in my example the newName shows content in it but newName.content does not give back anything
Modal submission 4 messages
steep tusk I'm creating a multiples modal in node.js and their submission interact each other like if I apply 2 modal submitted msg...
node
Is there a way to see what category a channel is in 2 messages
untold imp I was wondering if there was a way to see what category a channel was in like ```js channel.catagory.name```
ActivityType not setting correctly 13 messages
mystic cliff I made a command for setting my bot status https://starb.in/szWpne.typescript When I run the command for /botstatus typ...
How to handle previous instances? 5 messages
glass copper I'm currently making a code that adds a role when the user reacts to a message in a specific channel. However, I wanted ...
Unexpected Token & Node Node Version issues 11 messages
fiery root I am trying to install discord-api-types on my Raspberry Pi arm7 Node Version 14.21.3 (needed for written code) npm v10....
node
crate discord bot 4 messages
shut citrus What’s create-discord-bot ?
@discordjs package
`client.generateInvite()` undefined domain after update 3 messages
shadow onyx After updating to 14.14.0, generating an invite returns an undefined domain instead of `discord.com/api`. This is immedi...
d.js query 4 messages
fading crystal Hey quick question. Is there a way i can find out when my bot joins a server and get that servers id?
path 4 messages
chrome wren Good evening, what is path and what is it for?
node