djs-questions

9202 threads · Page 174 of 185

Rename Slash Command 11 messages
wicked widget Hello! Is it possible to rename a slash command?
405 Method Not Allowed 38 messages
stray sage Getting this error for some reason, never gotten it before and yet here it is. Code: https://srcshare.io/63b4266bd4a39d...
Slash Command Bug 11 messages
cinder knoll Hello! I made a slash command where you can see the official arts for each character's birthday. I'm having an issue th...
TypeError Cannot read properties of undefined (reading 'on') 30 messages
vapid tartan Hi! I'm trying to get modals working, but i'm stuck on the part where the bot actually recieves it. I keep getiing this ...
How to wait for all shards to startup using traditional sharding? 5 messages
drowsy crest So, originally, I thought I would just be able to do this with the ready event, but then I figured out that the ready ev...
detecting default the new pfp 48 messages
echo lichen is there a way to detect the new default style of pfp's ? the regular ones are currently detected trough checking if ava...
Channel.id, .type etc returning undefined. 5 messages
jagged dust I'm trying to loop through all text channels in a guild however am running into some issues. ```js guild.channel...
Code failing after a few days not used 2 messages
ashen lance https://pastebin.com/xZJ67M6y Why does this code just print `0 days, 0 hours, 0 minutes and 0 seconds` every 5 minutes?...
Discord Unix Timestamp Confusion 4 messages
hallow ravine So `1672706779674` is a valid Unix timestamp for `00:46:19` according to <https://www.unixtimestamp.com/> Why does Disco...
CiFi (my bot) Breaks upon running a command 5 messages
vapid tartan CiFi doesnt want to, or just cant execute a command that fetches information from a webpage using getDataFromPage(url). ...
Passing metadata from bot OAuth2 Invite link? 2 messages
mighty smelt I'm wanting to pass a variable from an oauth2 invite link and then read it when the bot is added to the server. I'm not ...
Slash command handler 2 messages
tall fog Hello, would anyone have a source of slash commands handler from v14?
Application did not respond. 36 messages
coarse summit I managed to solve my old problem, which was unrelated to Discord.js, and now I'm facing something that is. I'm a brazil...
Edit slash command after sending modal 7 messages
slow pine My bot updates an slash interaction, and then sends a modal, and then I want it to update the slash interaction again. H...
Webhook for a private thread 5 messages
hearty stream I'd like to see if its possible to have a webhook post to a private thread which is under a particular channel. The opti...
50001 Missing Access 28 messages
elder gorge version: 14.7.1 node: 16.14.2 bot connection works fine. deploying commands to guild fails. have verified the guild id ...
when v13 will close at all? 5 messages
stone turtle when v13 will close at all?
thread missing Access 17 messages
stone grotto ```js await channel.members.add(int.user.id) ``` channel: ```json <ref *2> ThreadMemberManager { thread: <ref *1> Thr...
Give every voice channel permission 28 messages
marsh furnace I am creating private voice channels and I want to give the owner of the channel every permission is there a simpler way...
DiscordJS slash command 6 messages
lucid apex Hello there! I have a error in the command handler file. I have attached the error and my code down below. > It says t...
998292157150535700
Best way to find and delete user messages 17 messages
glass apex Hello there. So, as the title implies, I want to know what the best way to fetch ALL user messages and then delete them....
what does djs v14 support that does not support djs v13 15 messages
gaunt wedge for the sake of interest
998292157150535700
HTTP interaction library or framework 8 messages
rare rain Are there any plans to make a library framework which can be used to create http interaction bots like <@348607796335607...
998292157150535700
Decoding 2 messages
frail finch anyone have a javascript obs decompiler???
Tracking user interactions to buttons 11 messages
proven lintel I'm trying to allow a user to vote on a post using ActionButtons. I have the buttons all set up how I want them, now com...
where do i hire someone 4 messages
grizzled breach ^
DiscordAPIError[40060] Interaction has already been acknowledged. 3 messages
candid geyser i got this errors only when i cancel the modal popup and try using it again. ```DiscordAPIError[40060]: Interaction has...
DiscordAPIError[50001] Missing Access when registering commands 7 messages
rancid jackal What permissions do I need besides `applications.command` and `bot`? Here is my code ```ts bot.once(Events.ClientReady...
Error Installing opus in VSCode 2 messages
hexed crypt Hi everyone, I'm looking to add music playback functionality to my bot using opus but these errors (attached file) pop u...
Make select menu selected for everyone when someone selects it. 4 messages
compact thistle I create a select menu and I select a value but others can try to select another values, and gets interaction failed. Is...
File downloads from message 3 messages
dry bough Hey there, whats the proper method to pulling a attached file from a message and reading it via something like FS?
Command not working ( no errors on console , only your app hasnt respond ) 23 messages
west iron https://sourceb.in/w53N1QdpaW
Issue with detecting message input on bot 17 messages
autumn shadow Bot repo: https://github.com/skyline-emu/skyline-bot The issue I'm facing is that user message input in a server isn't ...
Issue with client.user.setPresence 5 messages
slow pine Code:```js const { ActivityType } = require('discord.js'); module.exports = { name: "ready", once: true, e...
IntentsBitField is not a constructor 2 messages
proper citrus I'm following this part of the guide: https://discordjs.guide/popular-topics/intents.html#enabling-intents Below is the...
Testing events, commands… 10 messages
pure hatch Hello, is there any efficient way to test a DiscordJS bot? I would like to be able to set up tests for events and comma...
How to execute interaction if 'x' option is chosen. 7 messages
queen crescent https://cdn.discordapp.com/attachments/1058941435476463717/1059257341775712316/image.png
Issue with command info cmd 24 messages
torpid holly ```js if(command.perms === "Owner" && message.author.id !== config.client.owner) return message.channel.send("Owner") el...
If a certain voice channel fills, create another voice channel 18 messages
paper talon Title says it all, I tried doing this with a while loop but it doesn't even detect how many people are in the vc correct...
Undefined Forum Tag IDs 32 messages
tired scroll I will elaborate below, it's a little detailed
Jest test failing Cannot find module 'node events' when running with node 16.18.1 31 messages
visual pelican discord.js@14.7.1 I've recently updated to v14 and although the bot works well, my tests are not. I made sure that jes...
Issue with handling dms 8 messages
ionic vigil Hi, so I'm trying to make a feature which sends all the dms a bot gets to a certain channel in the server. The interesti...
Fails to acknowledge an interaction within 3 seconds since Jan 1st 175 messages
narrow echo No code was changed on the last 3 weeks. What is causing this? Did discord change some policy starting today that i'm no...
slash command addchoices error 18 messages
granite sand Slashcommand handler -> ```js } else if(option.StringChoices && option.StringChoices.name && option.StringChoices.descri...
Is there a possible way to see who unboosted the server? 3 messages
nimble valve I know that I can check for `member.premiumSince` on a `memberUpdate` event, but the problem is if they remove one or mo...
is there a way i can get all the messages in a channel and get the message content of each message? 18 messages
mint rivet title
last message from a member 2 messages
gleaming lantern How i can get the last message from a member
Add Buttons in a reply of SlashCommandBuilder 5 messages
gleaming lantern How i can add buttons in a slash command reply function? ```TS const row = new ActionRowBuilder() .addCompone...
Collection 10 messages
slender narwhal How can i read a collection to get an value?
Sharding Manager Exits Randomly 10 messages
keen kite Hi, I’ve been having an issue for the last few months where the sharding manager process exits silently but leaves the s...