djs-questions

13317 threads · Page 163 of 267

help 2 messages
meager seal Hey I just made a discord bot on Replit and i started running it and it just keeps spamming this what shall I do
BitFieldInvalid whenever I run ``node index.js`` in VSCode for my Discord bot... on... npm?? 64 messages
hollow ginkgo Hi, I have no clue if I am even in the right place to ask this. I am desperately trying to find a discord community that...
Cannot read properties of undefined (reading 'get') 8 messages
Issues with Autocompletion with ID and value 11 messages
real cradle Hi, I am trying to offer Autocompletion options with values from a database. I am selecting desc_de and itemID from the ...
How can I make slash commands available in dm's? 28 messages
ornate notch I want to use my bot's commands in his dm's but i can only use them in my server. how i can make them avilable in dm's t...
Channels within a category 8 messages
warped aspen Hello, how can I know how many channels are in a category?
welcome bot 2 messages
From roles to embed 8 messages
Application not responding after sending one command 40 messages
errant furnace Unsure what the cause of this is, just a few hours ago it was working perfectly. I had just recently kick/added the bot...
Discord Embeds : Show image in title / value 7 messages
muted eagle Hello everyone, This is my first message on this Discord, I hope I won't do any mistake while creating this question 😁...
how to parse command arguments with TS? 7 messages
hoary owl trying to parse slash command arguments but not sure what type interaction should be... thanks
Deny send messages 3 messages
warped aspen Hi, I am trying to remove the permission to write in a channel but it is not working, I probably have something wrong bu...
Unknown interaction 2 messages
viscid pollen ```js await interaction.deferReply({ ephemeral: true, fetchReply: true }); await interac...
DiscordAPIError[50013] 15 messages
snow shuttle why i can't kick user! i gave the bot all permissions and all intents
can bot read message content in dms 4 messages
Bot stays offline/unresponsive after reconnect 4 messages
drowsy shoal I have my bot deployed on a server, which restarts its internet router every day at `4:32am`. To handle this, i implemen...
Change voice channel name 9 messages
warped aspen Hi, I am making a channel that counts the members of the server, but when I update the number of members in the channel ...
my music bot is leaving the channel as soon as I leave the channel...discord.js version 14.7.1 2 messages
RPC WEB 6 messages
rigid stream Does it possible to use discord RPC on a website ? Because i need to use it and need it XDDD
RPC
Message System thread 15 messages
cloud wren Hello, is it possible to suppress the message when a thread is created? THANKS
setUserVoiceSettings() not working... 2 messages
sullen cargo Hello! I am very new to the discord.js library. I have managed to get some example code to work and communicate via the ...
RPC
How to refer to #Customize Community / #Browse Channels? 2 messages
dusky flicker How do i make bots refer to this like how we type <id:customize> & <id:browse> ?
Slash commands don't works 20 messages
fallow coyote Everytime when shard sends a heartbeat, my bot doesn't answer to any slash commands (application doesn't responding mess...
TypeError [INVALID_TYPE]: Supplied parameter is not a User nor a Role. 35 messages
atomic hull what is problem?
How to edit a embed message using buttons? 4 messages
tacit osprey Hey, im trying to code a embed message with some fields that i would like to update using buttons, but i dont know how c...
How bot run works? 21 messages
native rune How does the bot launch process work? That is, how can my computer accept requests from the discord server? Is it possib...
How do I get the highest role in the array and among the roles the user has? 3 messages
sly furnace ``` var allroles = Array.from(member.roles.cache.filter((r) => r.name.match(/^[0-9]+$/))); var highest = member.allroles...
How to create a new event listener and have it used on another file? 3 messages
lilac anvil Hi everyone. I just made a Discord music bot for myself by following a video on Youtube. I made a lot of commands for it...
I want to get all the roles with only the numbers that the user has. 7 messages
sly furnace ```const allrole = member.roles.cache; const highest = allrole.reduce((prev, r) => r.comparePositionTo(prev) > 0 ? r...
user undefined 13 messages
severe nimbus Hello, why is user undefined?
Channel permissions 3 messages
warped aspen Hi, I'm creating a voice channel with the following code and I don't know how to make it accessible only to people with ...
Cannot find module '@discordjs/rest' or its corresponding type declarations. 9 messages
fast dragon I get this error message after I installed discordjs/rest and discord-api-types Should I install something more? package...
@discordjs package
TypeError: Cannot read properties of undefined (reading 'getTextInputValue') 7 messages
discord.js Sharding 17 messages
terse spoke i want to make 1 shard handle like 5 servers
(reading 'member') 8 messages
Slash Command Only Works Once 4 messages
torn zephyr I took some time away from discord for a bit and in the meantime, my bot went down. One of my commands now is suddenly g...
Error when replying an embed within a collector 15 messages
dim ether I have this collector within a slash command that works perfectly fine when the reply is set to send a normal message. H...
Hide output from console. 15 messages
agile bridge Hey, is it possible to hide CLI output whenever sending messages to a channel etc? ```javascript ... console.log("ready"...
Passing data to next interaction without individual collectors? 43 messages
still trail As far as I've understood discord.js you can either use a global event `interactionCreate` listener or you'd create indi...
Select menus with several options at the same values 9 messages
static ether Do you know why one can make a selection menu with several options that have the same values? This is essential if I w...
What means this? 25 messages
static walrus Look this is my error:
is it possible to know if a / command was done in a thread? 10 messages
hoary owl i want to know if a /command was done in a thread and be able to get the messages inside the thread. is there somethin...
Error Returning An Array 2 messages
Error executing buttons 8 messages
dim ether ```javascript if (interaction.isButton()) { const button = interaction.client.buttons.get(interaction.customId); ...
autocomplete not working 12 messages
west iron https://srcb.in/pyDqFiRLS2
How i can Successfully Lunch Shard ? 24 messages
dim dock [SHARDS]: Launched shard 0 ?
I can run multiple bots with a single discord.js file, but I can't split these bots into shards 2 messages
tiny gulch I have multiple bots with the same function, some of them now require shards, when I try to run them with shard I get th...
bot cant go online 3 messages
void sun idk what happened
Unable to create a new channel 11 messages
old stream So I'm trying to create a new channel via ```js guild.channels.create({ name: "mafia", parent: parentId, t...
StringOption and IntegerOption return null 20 messages
real cradle I am trying to write 2 option values into a sqlite database. Although, the 2 options always return NULL. ```module.expor...