djs-questions

13317 threads · Page 17 of 267

Discord SKU ID errors 18 messages
calm osprey Not sure if this is DJS-related enough but since today I am getting the following error: `components[1].components[0].sk...
Discord
ESLint (VSCodium) error after using `npm create discord-bot` 5 messages
upper prairie Hello, I created a bot using `npm create discord-bot` and am using the ESLint VSCodium extension. however I am running i...
@discordjs package
Can someone please take a look at my code please? Rate limited constantly 35 messages
long swallow .
What Should ı Do? 5 messages
why are video_quality_mode and rtc_region missing in auditLogEntry.changes keys? 6 messages
halcyon umbra ```typescript const event: Event<Events.GuildAuditLogEntryCreate> = { name: Events.GuildAuditLogEntryCreate, asy...
Token invalid 38 messages
weak tangle hello, im new to discord js and still confused on how and where to put my apps tokens in. picture below
node
Bot crashed with the following error, how to prevent? 6 messages
torn fog connection may have been finicky but my bot just crashed with the following error: ```ts 1062 | break; 1063 | ...
bun
Uncaught exception: ConnectTimeoutError: Connect Timeout Error 19 messages
modest halo Keep getting this, hosting on my own server. It worked, then somehow it couldn't connect to a new shard since then could...
Unable to send an embed 22 messages
warped herald Hi, my code is practically the one that is included in the guide. I added a command which exports, during the execute ph...
client dereference error 4 messages
weak dawn After I've constructed the index code like this, I try to load it from a slashcommand file in the commands folder, but I...
node
Threads not auto archiving 36 messages
fierce violet This could be a discord issue but i am out of ideas on my side tbh. My bot creates a form channel with an auto archive d...
@discordjs package node
Global commands not deploying 114 messages
tribal root ```javascript // and deploy your commands! (async () => { try { console.log(`Started refreshing ${commands.l...
Subscription's question 3 messages
visual locust I have a question about subscribing to a server. What happens to the subscription and entitlement if the user who subscr...
how to i listen for dm messages 9 messages
granite barn ```ts client.on(Events.MessageCreate, async (interaction) => { console.log(interaction) }); ``` this doesnt seem...
TypeError: setTimeout is not a function using error when using discord-rpc in electron 7 messages
untold furnace Hi! I'm trying to use https://github.com/discordjs/RPC#readme, but have gotten stuck at a specific part. When i run my s...
RPC
Slashcommand permissions 5 messages
topaz belfry Does discordjs have any functions to have permissions on slash commands, for examply if user doesn't have staff role he ...
Read Desc 5 messages
harsh oracle Is it possible to build emojis directly into the JS bot so that you don't have to upload them to the Discord server?
node
PermissionOverwrites Why did this stop working? 66 messages
halcyon umbra ```ts if (auditLogEntry.action !== AuditLogEvent.ChannelOverwriteDelete) return; const c...
Automod tag 5 messages
green prawn How do I get the Automod tag for my bot?
Discord
Series of component interactions 3 messages
normal forge I have a flow in which I need a user to start with a context menu command, then I display a select menu with a set of ca...
bun
Update from v13 to 14 54 messages
grave siren So, I'm looking to update one of my bots from Djs v13 to v14, but the issue with doing so is within one of my packages t...
node
What's the best practice to handle errors? 16 messages
fossil magnet Is it possible to integrate a common error handler class?
Cant get the discord.js package 12 messages
plucky stone Hi, I sent the command in but it was saying (look at the picture).
@discordjs package
Get attachment from command after modal submit 4 messages
unkempt pumice **Hi there** <:waveBoye:985607731417329674> I'm currently working on a small `/bug report` command for a friend of mine....
Any way to check if the bot has sufficient perms to execute a command with SlashCommandBuilder()? 24 messages
fossil magnet setDefaultMemberPermissions() exists but it only checks the executing user's perms. I also want to add perm checks for m...
Discord.js Error with my dropdown menu and button 22 messages
half summit Hello, i want to ahev every choice = command So : If I choice a option, he send me the command error : ❌ Une erreur es...
Unknown interaction 2 messages
vapid furnace https://srcb.in/BSONkdUQ1S https://srcb.in/X3YTyb6NA0 It's giving unknown interaction error When I use buttons it work...
rate limit 2 messages
node
Unknown interaction 7 messages
orchid storm Error Logs: https://sourceb.in/QiMpAQzc9i Command Code: https://sourceb.in/j8vU677GKg its happening with every interact...
Question about Discord.JS's rate limit handling 14 messages
honest quarry I used ChatGPT just to have it summarize how Discord.JS handles rate limiting. My scenario was something along the line...
@discordjs package node
Server Member Applications processing 4 messages
buoyant bramble Just noticed that my server had [this option](https://support.discord.com/hc/en-us/articles/29729107418519-Server-Member...
Buttons with Discord RPC do not appear 4 messages
modest drift ```js const DiscordRPC = require('discord-rpc'); const clientId = '#'; const TrackerRPC = new DiscordRPC.Client({ trans...
node RPC
Custom type presence bot 8 messages
cyan cove Hey, i don't know how to set the emoji in the custom status of my bot, can someone help me ? ```js // Définition ...
@discordjs package
Embed - Remove timestamp 14 messages
terse lichen Hi, I started creating an embed creator Discord bot, but when I set the timestamp to 1 and create a new Date, I can't re...
Token Invalid but Already put correct token 17 messages
node
Internal Server Error 5 messages
forest depot Is this on my side or the APIs ```js try { const response = await fetch(url, { method: "GE...
node
"Lock" feature 10 messages
fierce holly Hi. I need help with my own "Lock" feature. Here's how it work: - When user use /lock, get and save all of user's curren...
Issue with Node.js 8 messages
fading basin i cant seem to find an answer to this anywhere but my bot used to work with “require” (that’s also what it says to use i...
node
Issue with NASA APOD 22 messages
onyx warren Hey, I'm using discord.js v14 and I have a /nasa command that displays the nasa's astronomy picture of the day. But rece...
node @discordjs package
A way to force a user to unfollow a post or remove the user without notification 9 messages
pure rover Is it possible to remove a user from a post exactly how it would the "unfollow post" do? Without getting a notification ...
Get modal question value 3 messages
topaz belfry Is it possible to get the question somehow from modal? You can get that textinnput value. Here is example what i mean
threadMembersUpdate doesn't being called sometimes 6 messages
ivory flicker ```ts client.on('threadMembersUpdate', async (oldMembers, newMembers, thread) => { console.log(thread.name, oldMembe...
Discord Rate Limit for Channel Creation 31 messages
candid hornet Hey guys! I'm working on a discord tool where some users would be able create a template (template i mean the channels s...
node
Seperate gateway process 4 messages
echo valve Is there a way to seperate the gateway/websocket process? I want to have a separate process for the websocket and bot, s...
node
How to DM users that authorized my app? 5 messages
warm scaffold I'm making a bot that's only usable in DMs with the bot itself and I don't know how to open these DMs with the user who ...
node
They help me 24 messages
silent bolt Hello, good afternoon. Can someone give me a bot to ban and unban users?
How do I make sure my Discord bot stays idle? 14 messages
daring meteor I have a discord bot that sets a status to idle when it's ready, but is there a way to ensure it stays idle, and doesn't...
Bot doesnt register new / Command 16 messages
crisp pike Okay, I have created a deploy-commands.js with after making it so I dont have to create command folders results in the f...
node
Issues with Entitlements 3 messages
winter forum Hey everyone! I'm having some issues with checking the entitlements of servers. It always displays, that the server does...
Unable to run code in production, code isnt running after build 4 messages
onyx beacon ```js ╭─[asus] as himanshu in ~/Projects/cfc-dc-bot-1 using node v23.7.0 on (discord.js)✘✘✘ ...
node