djs-questions

9202 threads · Page 151 of 185

How SlashCommandBuilder knows the function to execute ? - Understanding problem 14 messages
deft lichen ```js module.exports = { data: new SlashCommandBuilder() .setName('user') .setDescription('Provides ...
Stuck on retrying gateway connection 2 messages
calm wren Hey, I'm trying to setup a new bot and am failing immediately at the `client.login(token)` call. Seems like it's stuck ...
what is rate limit for fetchAuditLogs? 12 messages
native escarp rate limit for fetchAuditLogs, and the rate limit is for guild or for whole bot.
Update the choices select when string parameter updating 3 messages
gleaming lantern How i can make this ?
Valid intents must be provided for the Client 11 messages
civic saffron Hello, im coding a bot rn and there's this error wich mean that I need to provide the good Intents for it and idk how. P...
Regenerate collectors 9 messages
pure hatch Hello, I am looking for a solution to regenerate the collectors (message, reactions...). For example, to store in Redis...
Does anyone know precisely how the cache works ? 7 messages
dawn thistle I would like to know if there is a documentation about how the cache precisely works ? In fact, I'd like to know what it...
DiscordAPIError[10003]: Unknown Channel 11 messages
queen crescent Hello, can anyone help me with this error? I'm trying to retrieve a channel to send an embed to, it works only about 75%...
Listen for images in DJS 14 11 messages
coral trout Hi dear community, i am trying to "listen" for images in a specific channel. I remember it was ```if (message.channel....
Enum for possible AuditLogChange keys? 5 messages
livid cape Is there an enum or just a reference list of possible values for `key`s in `AuditLogChange`s? Working with timeouts and ...
Fetching an ephemeral Message reply from an ID 16 messages
brisk nacelle Is it possible to fetch by ID and subsequently update an ephemeral message? Node: v19.7.0
@discordjs/opus I can't install it on centos 7 3 messages
royal steeple I use @discordjs/opus in the discord bot I made for my friends to use in discord, but when I type "npm i @discordjs/opus...
ActionRowBuilder error for Modal 4 messages
pulsar fulcrum Hello ! When I upgrade to 14.8.0, I have a strange error for ActionRowBuilder (modal). My code : ``` const suggestion...
Space appears before a new line only on mobile 4 messages
oblique shell Hello, I noticed that text in my embeds have a space before them if they're on a new line and viewed on mobile. On deskt...
Interaction deferUpdate() & deferReply() 7 messages
hybrid juniper Hello, i have an embed that i edit with buttons and select menus and some tasks take longer then 3sec. i tried both defe...
check if channel id is in guild id 10 messages
nocturne plank Help pls I want to check if channel id is in guild id without running a command node = v18.13.0 djs = 14.8.0 My code...
'''using UnityEngine;public class PlayerController : MonoBehaviour{ public float moveSpeed = 4 messages
midnight palm Is this right for my game?
Canvas doesn't display text 3 messages
coral horizon Hi, I'm trying to modify an image by adding the name of the user who uses the command. The image is displayed, but the t...
Fetching the original ChatInputCommandInteraction from MessageComponentInteraction 19 messages
brisk nacelle After a user interacts with a component like a button, I would like to instead of creating a new interaction ignore this...
I Can't Understand Discord.js API Docs, What I need to know ? 10 messages
deft lichen The problem, not that I don't know JS or Node.JS, I know the basics. but I feel like I don't understand what exactly ea...
guildAuditLogEntryCreate not firing , New intent available ? something? 27 messages
rich canopy Hi , i updated discord.js to 14.8 like... right now and testing the new event available with it. thing is .. it doesnt f...
what's calling the slash command files? 14 messages
hybrid imp I'm using the tutorial from discordjs guide (https://discordjs.guide/creating-your-bot/slash-commands.html) and for some...
Delete ephemeral message and reply again. 29 messages
flat drift I’m having the same issues as <#1084196164871659531> where emojis in my embed do not show up properly after interaction....
Do I have to run "npm install" with all the "@"s? 8 messages
mellow frigate Like do I need to run both `npm install discord.js@latest` and `npm instal @discordjs/builders@1.5.0` etc...?
Is it possible to use discordjs for activity manager purposes? 23 messages
fair kettle Hi there! I am new to this development sphere. I am looking to make an application very similar to VSCord, an extension ...
1003448629866020986
Having issues with slash commands not sending 5 messages
fallow cedar Hey this is probably gonna be an easy fix. I'm not sure why but my command is failing and sending "This command is oudat...
Will v14 be v14 after 14.9.9? or will it be v15 with many new changes like when v14 was new 5 messages
last relic ^^^^
Cant access #Guild.members from ForumChannel 6 messages
mint oriole #ForumChannel.guild.members.cache return undefined Trying to fetch await #ForumChannel.guild.fetch() ```js TypeError:...
roleUpdate multiple fires 5 messages
fallen dome When I change the permissions/name/color of a newly created role in the server the roleUpdate event fires multiple times...
glitch 6 messages
novel wadi help glitch
How read in the Collection map 52 messages
nova dew I try as Json but he say "undefined"
Dynamic Guild Id 12 messages
nocturne stirrup Hello, I am using a .env file to store a guild id. i need to make it so that i can use it on any server the bot is in ...
Animated emojis don't display 25 messages
jagged juniper I was trying to add animated emojis to an embed, but the emojis wouldn't display, they just showed up as :emojiname:. Ho...
AudioPlayerError: aborted 7 messages
wise plover Hello, after one minute (exactly) of playing a music in a vocal, i got the following error : ```node:events:491 ...
TypeError: this.dispatch is not a function 54 messages
stark lynx Hi Guys I use @discordjs/rest but when I try to do a request I always get: ```JS TypeError: this.dispatch is not a func...
998292157150535700
messages.cache.size returns 0 23 messages
limpid hull Hello! I was wondering if I could get help with this reoccuring problem; srvChannel.messages.cache.size returns 0 and er...
SQL 17 messages
dreamy shore Hello, i found an example on the guide page, where i can use sql databases to blacklist users. Does anyone know which fr...
Unable to access createMessageComponentCollector({...}) in Typescript 7 messages
simple meteor I'm rewriting my Javascript Discord bot in Typescript but somehow cannot create a component collector. Does anyone know ...
About Oauth2 8 messages
quiet oasis I have read the documentation, but after logging into <div id='info'></div>, I do not see username and discriminator.
Weird type error when doing components 5 messages
brisk nacelle I have a function like this that is meant to handle an interaction: ```ts export async function handler(interaction: Cha...
Bot help; Read messages in channel, write them to terminal 23 messages
sudden python I am actually running Discord.js v16 on MacOS. I have a working bot. It writes random messages from an array to a channe...
i want to know about discord.js 8 messages
deep ledge Hey, I'm coming from discord.py, i have used typescript/javascript for web development, I'm new to djs also, I have a di...
Rate Limit sharing between Shards? 9 messages
tired field I'm unsure if this is the default behavior or not, but when you use RESTOptions#globalRequestsPerSecond, is this handled...
with the guildUpdate event how do i get the previous ownerId and the new ownerId? 2 messages
crimson dew I am trying to get the owner id but its only giving the previous one..
How do I wait for a Collector to finish before executing lines below? 3 messages
untold cloud The issue is that "finish" (at the bottom of the code) is being logged before the collector finishes. How do I make the ...
setPosition sending error when using a number variable 14 messages
haughty robin Hi everyone, I am trying to use a variable to set my newest created role as the highest possible role. However when I us...
Can i get the authorization token from user message? 7 messages
fluid birch hello, I'm wondering if there is any way to get the authorization token of a message sent by a user
interaction.fields.getTextInputValue('inputLink')its getting undefined why? 6 messages
wooden wharf gw
Showing a Modal built in another file via a Button 2 messages
signal raft Hi all, I am trying to show a Modal that was created in another file through a Button, but every time I try it returns ...
Emoji doesn't display after using update() 5 messages
glossy lake Hi. I have a problem with my emoji. When I use the `/leaderboard` command, the emoji displays normally in the descriptio...