djs-questions

13317 threads · Page 180 of 267

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 8 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...
YouTube to Discord.js 3 messages
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...
@discordjs package
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
@discordjs package
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...
@discordjs package
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...
Error Handling W API 11 messages
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 4 messages
slow pine Code:```js const { ActivityType } = require('discord.js'); module.exports = { name: "ready", once: true, e...
IntentsBitField is not a constructor 3 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...
(prefix) timeout command not working 13 messages
Undefined Forum Tag IDs 32 messages
tired scroll I will elaborate below, it's a little detailed
Ban prefix command query 8 messages
Jest test failing Cannot find module 'node events' when running with node 16.18.1 31 messages
visual pelican [email protected] 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? 22 messages
mint rivet title
last message from a member 2 messages
gleaming lantern How i can get the last message from a member
How do I make a bot mention a role. 6 messages
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...
Create a role with view permissions for a channel 14 messages
dusk knot Hello, I want to create a role with viewing permission for a channel, how can i achieve this? i read the documentation f...
Is this a stupid way to await interactions on a message? Is there a better way to do it? 25 messages
jagged grotto ```js // call this to send a message with buttons const awaitInteraction = async (interaction, buttonArray, messageObjec...
message embed doesn't display Hindi characters properly 8 messages
warm bay Hi, I recently discovered a weird thing that my lyrics embed for a song in Hindi is displayed properly to a point in the...