djs-questions

9202 threads · Page 84 of 185

Simple code assistance! 11 messages
rare lantern Anyone knows what the issue is with this node.js code?
1150878580193116250 998292157150535700
MySQL db making my brain implode 9 messages
fading crystal I have 3 files involved in this
Can large files cause abortion errors? 5 messages
jagged folio My bot sends a .png file across many servers. Most of the come out with abortion errors, meaning the API request timed o...
How can I pull up the person's status? 26 messages
warm scaffold I'm trying member.presence it's giving null
If statement as stated in FAQ failing? 6 messages
dense blaze I have the following code, to attempt to restrict a command to only myself, as the wiki states [here](https://discordjs....
998292157150535700
Random 18 messages
old orchid Making a slashcommand having multiple possible answer and making them completly different ( like 5 choices ) BUT it don'...
Sharding times out after several other shards launched successfully 10 messages
prime bone Good afternoon everybody, I'm currently stuck with a sharding problem that only occurs on my external VPS. At the moment...
how can i turn off the mention when replying to a message? 3 messages
rapid bay i'm trying to have my bot reply to people but not ping them, i've tried supplying the reply method with the flag `Suppre...
1150878580193116250
very quick question and clarification 10 messages
cursive panther https://discord.com/channels/222078108977594368/1144684037919756508/1144685393166483479 Regarding that message. Bots can...
1150878580193116250
Scheduled message causes duplicate messages in sharded app 12 messages
subtle sandal I have a sharded bot that sends reminders, but sometimes the bot sends duplicate messages. I'm not sure how to prevent t...
bulkDelete erroring: invalid int value 9 messages
idle brook Hey everyone, I hope you're doing well. I'm currently facing an issue with the `channel.bulkDelete()` function in Disco...
1150878580193116250
Refresh autocomplete options with that's dependent on the other parameter 6 messages
remote kite I have a slash command with two parameters, first is the user and the second parameter is an autocomplete that is based ...
How do you edit a specific message without it's interaction? 2 messages
cinder furnace I'm using a button below a embed and I'm trying to edit the embed above the button when the button is clicked. Is there ...
Bot website? 6 messages
hallow saddle I'm making a website for my Discord.js bot, but have no idea how to do it. I'm using Wix Studio because then I can make ...
1150878580193116250
First Example from the site doesn't work. 3 messages
gleaming crypt The very first example to work with and get an idea of tells me "Cannot use import statement outside a module" Do we hav...
Get value of the MesageButton Label in Djs v13 4 messages
unreal lark Hey, have a quick question. Im making a message button for a poll command, and when the button is clicked, I want to tak...
Set a Discord's Default Emoji in a ButtonBuilder 6 messages
crimson edge Hi, I'm trying to set this discord's default emoji in the method setEmoji in a ButtonBuilder, but when sending the compo...
Setting up try catch for TypeError's 7 messages
terse trout Hello I am trying to setup a try catch for errors caused when the code interaction.reply() is ran. But it seems like the...
How to keep listening to messages from a specific channel? 3 messages
zealous nest I've tried two ways but I cannot get any message: ```js // on messageCreate module.exports = { name: Events.MessageCr...
How do i find out how long until a queue request until send and how to cancel a queue request 9 messages
civic coyote I am making a Temp Voice Channel Bot. If my bot renames the channel more then 2 Times per 10 minutes its getting queued...
Why does .content not work when it is in the array? 20 messages
untold imp in my example the newName shows content in it but newName.content does not give back anything
Modal submission 4 messages
steep tusk I'm creating a multiples modal in node.js and their submission interact each other like if I apply 2 modal submitted msg...
1150878580193116250
Is there a way to see what category a channel is in 2 messages
untold imp I was wondering if there was a way to see what category a channel was in like ```js channel.catagory.name```
ActivityType not setting correctly 13 messages
mystic cliff I made a command for setting my bot status https://starb.in/szWpne.typescript When I run the command for /botstatus typ...
How to handle previous instances? 1 messages
glass copper I'm currently making a code that adds a role when the user reacts to a message in a specific channel. However, I wanted ...
Unexpected Token & Node Node Version issues 11 messages
fiery root I am trying to install discord-api-types on my Raspberry Pi arm7 Node Version 14.21.3 (needed for written code) npm v10....
1150878580193116250
crate discord bot 4 messages
shut citrus What’s create-discord-bot ?
998292157150535700
`client.generateInvite()` undefined domain after update 3 messages
shadow onyx After updating to 14.14.0, generating an invite returns an undefined domain instead of `discord.com/api`. This is immedi...
d.js query 4 messages
fading crystal Hey quick question. Is there a way i can find out when my bot joins a server and get that servers id?
path 4 messages
chrome wren Good evening, what is path and what is it for?
1150878580193116250
channel is defnied but its says 8 messages
sharp glen const db = require('../../db/manager'); const { EmbedBuilder } = require('discord.js'); module.exports = async (client,...
Trouble pushing to heroku 2 messages
brisk trellis I'm trying to deploy my discordjs application to heroku, but i keep getting this error which I don't know how to fix: v...
Discord API Error with Setting Commands 5 messages
deep ledge I keep getting this error and I dont know why ```DiscordAPIError[50035]: Invalid Form Body 1.options[1].options[0].name[...
How to change the status of our bot on visual code studio 4 messages
halcyon oyster I have a question How to change the status of our bot on visual code studio
message not being read 96 messages
tough jacinth The bot is not reading the message and replying
My commands not uploading 32 messages
opal stump I didn't moved anything strange but my commands don't don't update once I restart my bot
Build Error with ts-node 26 messages
shut forum Hi, I'm using typescript and I'm getting a strange error that isn't actually in my file! ```Error: Failed to imp...
1150878580193116250
Fetching a slash command reply's ID before it's sent 5 messages
brisk solar Title basically explains what I'm trying to do. I'm creating a post system, but instead of constantly doing a chain of ...
"Interaction has already been acknowledged" after invoking a command twice in a row 3 messages
mint dagger Good morning, I've been encoutering an issue when trying to execute a command twice in a row. My button interaction c...
error 15 messages
hexed wyvern помогите (discord.js)```js node:internal/modules/cjs/loader:1051 throw err; ^ Error: Cannot find module 'C:\Users\G...
1150878580193116250
fetchWebhook and WebhookClient 6 messages
royal parrot Hi, As far as I know, instantiating a WebhookClient create a new Rest instance which is not a good thing if we already h...
slow deferUpdate 13 messages
scarlet geyser So I have been doing quite some debugging to increase my command speed and I noticed that `await interaction.deferUpdate...
Possible issue on IPhones, is this a DJS or Discord bug? 3 messages
full yew Reported by one of my users "Visible on an iPhone 15 pro and another player with an iPhone 14 reported it. Other iPhone ...
998292157150535700
bot.guilds.cache.get("ID").members.get("ID") is not a function 2 messages
atomic ermine It used to work on old d.js version but now it doesnt.
Crashing on token switch 10 messages
brittle prawn For some reason, when I am switching the token for my bot the node modules don't like it and crash the application. Does...
1150878580193116250
Soundboard Missing? 31 messages
alpine olive Seems there is nothing related to soundboard on the docs. I Figured they'd be accessible similarly to how Emojis are und...
Soundboards missing? 16 messages
alpine olive Seems there is nothing related to soundboard on the docs. I Figured they'd be accessible similarly to how Emojis are und...
Mysql ORDER BY ... DESC 3 messages
silver warren Hello ! I am because I need your help, logic lol. I've created a ranking system with points, so far so good, I'm using...
Is it possible for my bot to see which message I've selected for reply? 7 messages
tight sail Essentially, if I select a message and try to reply to it, is it possible for my bot to see the message I'm trying to re...
Fetch data from the "new" members menu 4 messages
nocturne dragon Looks like in the new member menu discord provide who invited the member, but I can't find any support from discord.js t...
1150878580193116250