djs-questions

9202 threads · Page 125 of 185

channel list 40 messages
thorn light how do I get a list of channels?
Server Guide 9 messages
last relic Do discordjs have any options or anything with server guide? And also with onboarding
Unable to collect reactions 19 messages
wooden adder Hey guys, I could use some help with an issue I'm seeing using discord.js 🙂 I'm trying to register when a user reacts ...
Message component collector 3 messages
low hawk When using a message component collector with a **filter**, when the collector receives a collect, why does it also mess...
DiscordAPIError 7 messages
pallid helm https://pastebin.com/3N7KyHsp Whenever I run this code, and submit the modal, I get `DiscordAPIError[10062]: Unknown i...
Is there a way to hide this part of the slash command 13 messages
ebon patrol The part which reports which user used the command
cache expires? 27 messages
brittle mesa Hi i have a feature in my bot that runs in a interval every 30min. Its something like that: guild.roles.cache.get(....)...
having trouble using sequelize using a sqlite db 5 messages
halcyon oar ```JS const target = options.getMember('member'); const guildDB = await Guild.findOrCreate( {where: { id: guild...
disabling an interaction menu 42 messages
random terrace im just trying to disable an interaction after input from a player so that the messages can be properly deleted
Discord.js TS starter 5 messages
spring jasper I would like to now what happned or whats going to happen I make the project in TS is there any video tutorial on the la...
How to close/end a select menu 5 messages
bronze ice I have a select menu with a collector and all the different possible options... I want to be able to end the menu so use...
ValidationError: Expected the value to be a string or number 14 messages
little elbow hello! I'm currently trying to show a modal to the user on a button click, however, I keep getting this weird error and ...
Bot becomes unresponsive after executing a slash command 37 messages
ebon patrol Hello! I'm building a discord bot and I've got it functional up to the point of the slash command handler working for on...
New d.js 3 messages
left canopy I haven't used this library in a long time, now I need to make a bot and I saw a new version of d.js called core. Can I ...
986538542350086175
insufficient permission 3 messages
jaunty crescent how can I check if my bot has permission of administrator on the event interactionCreate, so I wont get insufficient per...
998292157150535700
HELP!!!!!!!! 7 messages
celest nebula I can't update discord.js.It says:update failed.What should I do???????
Type bug? 27 messages
timid sand I've checked the docs and says that __nameLocalized__ exist in the option object. And when the Discord API sends the opt...
Error Handling? 66 messages
atomic elbow I want to supress only certain types of errors. - Where can I find the documentation for different error.code values? - ...
<Member>.voice returns null 12 messages
waxen jay Heyhey, i've ran into an issue where whenever a member is connected to a channel when the bot starts or restarts, and th...
Invalid Form Body on ChannelSelectMenuBuilder() 33 messages
swift willow Hey everyone, I've been having some trouble with the ChannelSelectMenuBuilder() with djs v14.11.0. A simpler version of...
I'm having trouble with looping through a number. 4 messages
lament vessel I'm trying to loop through the values of a number by subtracting one from the number in a loop until it hits zero. So fa...
I cannot use my any command.... 197 messages
solid bear When I try use any command. it doesnt send message in channel but it send message from dm my code: (it can be complica...
Test for multiple interactions 6 messages
jovial lodge Is there a way to check if a user has multiple interactions?
Hidden status 3 messages
viscid fractal how to do like that
Interaction has already been acknowledged. 3 messages
pallid helm https://pastebin.com/KWrPtFm4 Whenever I run this code, I get: `An error occurred: DiscordAPIError[40060]: Interaction h...
addMentionableOption restriction? 4 messages
orchid trail can I somehow do something like .addMentionTypes(Roles), so only roles are displayed when user is selecting in Mentiona...
Get date of last message/reaction (any type of interaction) in the server from a user 3 messages
bronze karma Hi, is there any way of getting the last message/reaction or any type of interaction with the server from a user in the ...
No Reply after Async Function. 15 messages
lean nest Have only made fairly simple commands in the past. First time trying to interact with other docker containers and such. ...
ported to v14.11 and sharding with "assigned" clients breaks. 4 messages
snow anchor I am porting from v14.6 to .11, and my test environment creates clients on separate shards to test that sharding works b...
Stuck trying to create a map to track votes on messages 1 messages
amber abyss I'm trying to allow user to upvote/downvote messages using reactions, as well remove their previous vote. I'm using a ma...
Sending a user a DM 8 messages
topaz shale im trying to send a embed to a user's DM when they get a certain role. It use to work but now i get an error for line 11...
userse 23 messages
jaunty crescent Hello, what is the correct event I need to use in order to monitor a permission that changed on specific channel, for ex...
998292157150535700
Check if token valid 22 messages
vague tendon How can I check if a token is valid before trying to login? or maybe using the login function if that return a good erro...
DJs preemptively rate limiting? 17 messages
silk salmon I'm having an issue with rate limiting after runtime of a few hours. I am editing messages in a channel as a part of a ...
HOW TO ADD BOT ACTIVITY 4 messages
sinful rain ANYONE CAN HELP ME?
How can I handle unknown interaction errors? 3 messages
magic jasper I have a project that due to internet instability, the bot can receive an **Unknown Interaction** error and die. So how...
998292157150535700
code: 'ERR_SOCKET_CONNECTION_TIMEOUT' 3 messages
fair coral ``` node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^ ...
Get member roles without member cache 2 messages
charred igloo so i have guild member cache disabled but i would like to get roles id array which is gotten from api once on a while if...
where can i ask about deploy without guild id? 6 messages
crystal linden i know how to deploy commands with certain guild ids. but i want to deploy it without guild id.
How can I fetch channel? 5 messages
small tide Message and channel
How can I fetch latest mesages on specify channel? 3 messages
small tide that's I want to do
Use result of autocomplete focused option 1 to narrow down options for focused option 2 8 messages
delicate willow Hello, I'm trying to use the value/name of an autocomplete focused option (`interaction.options.getFocused(true)`) that ...
ES6 OR Common JS module 9 messages
opal scarab I have a confusion about which module i should use in developing a discord BOT. because Most of the tutors in youtube sa...
deferReply not working on specific server 52 messages
final fulcrum Hello. We are running a small hosting service for Discord bots but one of our servers can't execute `editReply` from DI...
msg not sent to thread 1 messages
night needle ```js client.on(Events.ThreadCreate, async (thread, newlyCreated) => { const chl = "1113514934643470456"; if(thread....
Click Button Error 3 messages
near shale I dont understand why
typescript issue 3 messages
fallen crescent ```ts export type DiscordEventCallback<K extends keyof ClientEvents> = ( app: App, ...args: ClientEvents[K] ) =>...
Keep getting Unknown Message on route: ButtonInteraction.editReply() 28 messages
winter knot Hey, So I'm using a collector and I'm getting Unknown Message on `ButtonInteraction.editReply()` But I'm not too sure wh...
Segmentation fault when try to send a image 19 messages
indigo rivet Hey, if i try to send a image whit this code, i get just the Error "Segmentation fault". No other Errors or Informations...
sharding across multiple cores 2 messages
untold cloud IIRC, Discord.js's native ShardingManager only distributes shards across a single core (as far as v14.11.0 goes). I've l...