djs-questions

13317 threads · Page 124 of 267

Audit Log Originating Guild 6 messages
sage venture Is there a way to get the guild a GuildAuditLogsEntry originated from in the GuildAuditLogEntryCreate event?
How to create connect wallet button like Collab.land 3 messages
north ice I want to create a "Connect Wallet" like button in discord js embed builder. It will take user to our website where they...
Database Err 3 messages
good practices for project structure for a discord bot? 7 messages
faint nebula hi there! im new to the api as a whole and got kinda bummed out that is still writen in js and doesnt go in depth on pr...
@discordjs package
The application did not respond 22 messages
haughty pivot Hello! So, I keep getting this response from my bot, but idk what's wrong since it doesn't show any error on my code
help me 2 messages
reply to user message 8 messages
plain lily How to reply a user message with @discordjs/core?
@discordjs package
Who can help? 3 messages
ionic temple Hi, I'm trying to make every 10 seconds to update the database for new records, and of all the records from the schedule...
node error 3 messages
opal hedge I am trying to make a small discord bot, but when I try to do node bot.js this error keeps popping up code in bot.js: ``...
Using My own User Token 8 messages
spare scarab I'm trying to make my own user copy and paste a message generated by a bot in my own server. With API I'm able to send ...
Slash command autocomplete user mention error: "not a valid user" (mobile issue only) 2 messages
Reset Bot Token prompts for 2FA, but never sends a message 11 messages
versed valley I am attempting to follow the discord.js documentation for accessing my bot token, but cannot use the Reset Bot Token op...
Deploying via index.js errors but works. 11 messages
analog kayak Since I put my bot on an unmanaged host, it auto-starts with index.js and i'm not able to run deploy-commands myself, I ...
How to set global commands and guild commands for a bot without duplicates? 14 messages
dense bramble How to set global commands and guild commands for a bot without duplicates?
i dont know how 8 messages
pearl crater look at the error : PS G:\Secta\src> node bot.js node:internal/fs/utils:348 throw err; ^ Error: ENOENT: no such...
Rollup error 5 messages
vague rock I have this error with `@discordjs/core 0.6.0`: [!] RollupError: "default" is not exported by "node_modules/discord-api...
@discordjs package
I don't know how Events works 50 messages
signal hinge So, i was trying to make events out of index and i don't know how to make them perfectlly, i tried using the info on doc...
Edit a message with it ID with shards 25 messages
cold plume ### Hello, im trying to edit a specific message in a specific channel. I have `getMessage` function than return me the c...
Im a bit new to js coding, so idk how to call functions at index 16 messages
signal hinge So, i want to make at different files (for not having all the coding on the index.js) the line of commands like "client....
My bot is not giving role when I react 64 messages
arctic sky It does not show any errors
how can I connect discord.js with my bot? 6 messages
faint beacon how can I connect discord.js with my bot?
a need help 2 messages
grave blaze how to use the sound's world bot to in the code in visual studio code
dev release
My embed message result in a mess 39 messages
arctic sky > const csend_log = new EmbedBuilder() > .setColor(0x2b2b2b) > .setTitle('csend') > .setDescription('') > ...
Message from one channel to another not working 4 messages
spare scarab Hi all, my first post. I'm new to everything here but chatGPT put me on Java steroids til I reach what seems a very basi...
how can i run cmd in visual studio code 6 messages
faint beacon how can i use discord js in vscode i am new in programming so i need extended help
2 days and i'm still trying to fix this internal error :( 21 messages
tribal badge ``` client.application._patch(data.application); ^ TypeError: client.application._patch is n...
my reaction isn't being passed from one script to another. 11 messages
ebon patrol Passing ```client.on(Events.MessageReactionAdd, async (reaction, member) => { let r = reaction; let rM = reaction.m...
Oauth RPC 4 messages
rough raven Hi is this possible to combine oauth with rpc, like when user use oauth it enable rich presence on the user account ?
RPC
[FIXED] TypeError (reading 'user') when creating threads 47 messages
livid cape Started having this error pop up on two bots different bots starting around <t:1686789295> ``` TypeError: Cannot read pr...
Discord
DiscordAPIError: Missing Access 31 messages
low thicket DiscordAPIError[50001]: Missing Access at handleErrors (C:\Users\user\OneDrive\Documents\Discord bot\node_modules\@d...
How to make Buttons send a followUp? 19 messages
wary owl I'm using djs in typescript. When executing a slashcommand from the user typing it in, the interaction is of type `Conmm...
MemberRemove call when I kick my bot 53 messages
sinful fossil When I kick my bot of a server, I think that the event "MemberRemive" is called, and it makes a bug : ```java node_modul...
Will new username structures cause errors in references to old username structures? ex: user.tag 3 messages
shrewd plaza The title about sums up the question. My discord.js version is 14.5.0
Error fetching guild on client ready event 20 messages
formal smelt I have a function that will check for all guilds that have member count enabled However this specific group of code seem...
StringSelectMenuBuilder data 3 messages
formal burrow How to get selected data from StringSelectMenuBuilder?
Not working modmail 14 messages
cold zealot https://pastebin.com/5ccHd97mhttps://pastebin.com/5ccHd97m explanation of i want it to be: when i say claim it will say...
my bot doesnt charge slash commands 18 messages
frozen junco https://srcb.in/z1OoebNGYN https://srcb.in/yodINFujjL https://srcb.in/GuRYWagfWf
Why use @discordjs/broker rather than node-redis-pubsub? 3 messages
wintry mango I can imagine there being a benefit for discord.js-based applications, but i'm not sure what it is
@discordjs package
Websocket Ping Missing ? 6 messages
echo musk Ummm so i was trying to setup a little basic ping command with @discordjs/core and @discordjs/ws and i can't find anywhe...
@discordjs package
Get Guild's Name 12 messages
short cipher if i use fetch method to get guild name. Example code: ```js const server = await client.guilds.fetch(message.guild.id);...
bulkDelete error 2 messages
Get interaction of an interaction 5 messages
pulsar fulcrum Hi ! I wanted to know, with discord.js `14.11.0`, there is a way to get an interaction sourced of another. To explain, ...
DiscordAPIError[40060]: Interaction has already been acknowledged. 214 messages
edgy cobalt Code: - ```js const collector = message.createMessageComponentCollector({ componentType: ComponentType.Button, time: 15...
What time format is msg.createdTimestamp outputting? 3 messages
vagrant steeple Hi all, trying to find how long it has been since a command has been called. Was trying to save a timestamp and then sub...
@discordjs package
DiscordAPIError[10062]: Unknown interaction 35 messages
nimble wolf help-me
invite count 4 messages
trying to do a starboard system 36 messages
lost magnet https://sourceb.in/TFctbjoT1p setting the channel is fine and is entered in the database, but nothing gets sent to the c...
ReferenceError: icon is not defined 5 messages
pine turtle how can i fix this
Slash Commands Cooldowns 39 messages
regal atlas Hi, I just followed the guide for the cooldown but I get errors.
disable select menu 9 messages
random terrace I was told i cant do it but I just wanna ask here to make sure, am i able to disable an option in a select menu?