djs-questions

13317 threads · Page 68 of 267

Im building a verify bot and i keep getting the same error 33 messages
manic vigil When i put node bot.js to run it, it just gives me the same error over and over again and copilot ( the ai i went for he...
How to delete Application Slash Commands 32 messages
glass scarab That's is quick but i accidentally put two commands that do the same (due the other one not showing up) now all tutorial...
Error Verified System 3 messages
marsh sable Error - https://pastebin.com/j7Z0cTni Verify.js - https://pastebin.com/SR42VFqi InteractionCreate - https://pastebin.co...
CDN picture urls 3 messages
golden nova In regards to CDN picture urls: My users save the discord url of a picture into the bot db. Everytime the bot posts the...
node
Info about guildMembersAdd 3 messages
shadow notch A clarification: why if I track who join the server with guildMemberAdd, I get different logs than the discord user join...
What's the reason for subcommands? 2 messages
dusky oyster Pretty straightforward, might sound dumb but honest, kind of having trouble understanding it's purpose
This interaction Failed 8 messages
heady spire im trying to go from 1 embed to two inside of a message and in the background im trying to change the opponent datavalue...
can anyone help me with this 8 messages
tender oasis https://srcb.in/YYmw3h3x3H Am making like this how is in the image
error 27 messages
spice orbit ```TypeError: Cannot read properties of undefined (reading 'includes') at Object.run (/home/container/commands/info/...
Creating automod setting error 2 messages
Why is the automod not creating 3 messages
just open this 6 messages
novel obsidian How do I find out or see the code on discord.js.org? When I was confused about wanting to create a system, especially f...
Help collecting a button component 27 messages
trim plume Hey guys, I have been struggling trying to collect a button response. I am following the "component collectors" portion ...
node
Can't fetch correctly 17 messages
gusty crane i need to fetch a lot of times per command but it only fetchs once and stops after it
How to use discord.js in Android? 7 messages
glass scarab So, i've been trying to make a discord bot on js (obviously) but i've been struggling trying to install the discord.js, ...
@discordjs package
Button Interactions 6 messages
heady spire hello! im trying to make a way to send different embed depending on the rarity. it works when i press a button but the o...
Client export doesn't work 8 messages
cold night Hello, i'm trying to export my client to use it in another file but i get an error https://screens.mathieuar.fr/Screen-...
multiple image attachments in one message 8 messages
dawn juniper can i add multiple images to a single message, similar to how users may do it?
how do i attach image from file path? 13 messages
dawn juniper title
Image shows on edit 8 messages
river dawn Hello, When I create an embed with an image that is attached to my message, and then I edit this embed, the image is sho...
interaction response 11 messages
dusky oyster Hey so my question is pretty simple, If I were to make ticket system or something and for example I want my embed with C...
temporary Voice Channels 11 messages
river island Is it possible to create temporary Voice Channels with Discord JS. Ideally. click a button and it will put you in a cus...
SearchResult object having no Tracks 6 messages
@discordjs package
Patch using webhooks on DeferredChannelMessageWithSource with token and embeds 5 messages
dim plover hi everyone, I've been struggling for a while and can't find an answer using the search here. I'm sure it's a silly mist...
Always read a modal InputTextValue but when it doesn't exist it makes a null value of it. 8 messages
trail schooner Does anyone know how to always read a modal InputTextValue but when it doesn't exist it makes a null value of it? ```js ...
node
Error - Opening handshake timed out 5 messages
lilac abyss My bot was running okay locally until recently it sometimes raises the timed out error when I tried re-running the code....
Not just one but all the commands don't work 45 messages
lilac dirge Not just one but all the commands don't work
DM Button not triggering InteractionCreate 18 messages
neat stag Hello, I'm trying to get a button working in DMs, but it does not seem to be even triggering the InteractionCreate event...
Is it possible to receive ephemeral message in "messageCreate" event ? 5 messages
dawn thistle Hello everyone, I'm going back on the code of an old project and I notice that in the handler for the "messageCreate" e...
Counting voice 18 messages
lone quartz Uncorrected counting voice channels members
How to add members to a thread 12 messages
lethal kite Is there a way to add members to a thread without sending a system message like the one in the image?
The problem with counting users in voice channels 4 messages
lone quartz The problem with counting users in voice channels, the input to the channel works fine, but the output remains the highe...
Can two shards have the same guild in the guild cache? 35 messages
muted beacon This may seem like a dumb question, but it's genuine; I believe I am having a scenario where two shards have the same gu...
ReferenceError: Client is not defined 24 messages
shadow yew ReferenceError: Client is not defined at Object.<anonymous> (C:\Users\\(name)\my-bot\bot.js:1:16) at Module._com...
Thread sometimes null? 12 messages
heady sand Why is thread sometimes null? ```ts msg = await (channel as ForumChannel).threads.create({name: post.info.title,message:...
No setActivity 7 messages
quartz orchid Hello, I'm just starting to learn Discordjs. Now I'm getting an error so that client.user.setActivity() isn't executed. ...
node
bot 33 messages
tight echo please help me with a bot
@discordjs package
Put an asterisk symbol 17 messages
wicked linden I want to make a note in the text of my bot ("* text"), but when I put an asterisk symbol, an asterisk is created, and i...
I'm new to discord.js and I'd like to learn about the .env file 34 messages
dreamy lava I've been watching videos on YouTube to get a grasp on what I need to do initially. I've already set up my `package.json...
Is there a way to unregister a specific commands? 2 messages
dawn juniper Title.
Bot statuses disappear after a short while 20 messages
wary cloud Hey everyone, does anyone by chance know why my bot stops displaying its statuses all together? My statuses are defined ...
discord.js not working on raspberri pi 8 messages
sonic verge Hi, does somebody know why i can’t install discord.js on my Raspberry Pi 4 (Pi OS Lite)? Reinstalling and deleting the n...
node
How can I loop through all guilds and log the name 11 messages
sonic loom My bot is in over 4700 guilds and I set shards: auto I am not familiar with discord.js so if you could provide a short ...
No command handler found 7 messages
tribal dragon I have built a bot based on the guide (https://github.com/discordjs/guide/tree/main/code-samples/creating-your-bot/event...
channel.createWebhook() returning Request Aborted 103 messages
quaint loom I can't seem to understand why this is happening. I'm trying to create a channel webhooi and it thinks about it for 30s...
Compare interaction result and DB data 22 messages
hidden torrent Hi, I want to get DB data to compare it to an interaction result data and I'm lost trying to fix my problem : when I ent...
messageCreate event 11 messages
last wagon anyone got any clue why this aint working? ```js client.on('messageCreate', (message) => { if (message.mentions.has(m...
Send mp4 file 20 messages
kind terrace I have a mp4 in my directory that I want to send it but it's sending the video like this. how can I fix this ``` ...
Bot not responding to prefix cmds 5 messages
compact walrus Hi to all! I have the following in my `./events/messageCreate.js` ```js const { Events } = require('discord.js'); modul...
I got my hands into js but came-cross a problem 2 messages