djs-questions

13317 threads · Page 156 of 267

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 ...
Is it possible to control an arduino with discord.js 3 messages
How to tell Discord.js that the interaction executed succesfully? 4 messages
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...
The slash command breaks after using it 2 times 4 messages
lament kestrel Hello. I am "skill issues" in the discord.js, I barely made a command to receive and withdraw data from the modal window...
Get correct count of all members that are not offline 4 messages
No error stack trac 44 messages
mint oriole ```js ERROR] 18:56:44 DiscordAPIError[10004]: Unknown Guild DiscordAPIError[10004]: Unknown Guild at SequentialHandl...
The application did not respond 10 messages
meager zenith When I try to run my command, it doesn't respond and there are no errors ```js //ping.js import { SlashCommandBuilder }...
Multi select menu 2 messages
hard dragon It is possible to do a multi select menu? because right now i can just select one thiing
rate limit 30 messages
gray quiver avoid getting rate limited on reactions
Creating Roles with Permissions set the same way you set them in Channels 20 messages
empty oxide As someone with OCD I struggle with different "looks", I am trying to change perms of a role in the way I would change ...
Role Creator Command Not Working 8 messages
empty oxide Hey All, Apologies if this is really simple... new to JS/discord bot dev stuff (day7), I have a command that has most...
message.createdAt.toISOString() returns a date in 2021 27 messages
cold sand Basically title. It returns this string: "2021-05-11T05:48:10.036Z", did I missed an intent/partial?
Commands not sending 6 messages
Interact has already been acknowledged. 19 messages
hallow badge I have this discord.js embed with buttons where users can choose an attack move and it will attack a boss. The problem s...
slashcommand-choice 3 messages
sharp thorn ```js const { SlashCommandBuilder } = require('discord.js'); module.exports = { data : new SlashCommandBuilder() ....
Make embeds smaller in any way 5 messages
edgy dune this embed is WAY too screen filling, any way to reduce the size of this embed without cutting information(stuff like de...
node deploy-commands.js Error 36 messages
rapid panther So I have been trying to fix this for like 2 hours with a friends help and other support but to no avail. Here is the co...
How do I correctly use .setEmoji() when creating a Button with the ButtonBuilder? 50 messages
vital gale Hello, I'm trying to add emojis to a Button, but I always get `components[0].components[0].emoji.name[BUTTON_COMPONENT_I...
Error with trying /commands 2 messages
how do i make it so that when a person has a specific thing out of an array in a database return tha 3 messages
trail shadow how do i make it so that when a person has a specific thing out of an array in a database return that he has it?
Building slash command in module differently 14 messages
Missing Access 4 messages
drowsy crescent I have tried to register my slash commands but I got this error:
Remove buttons on collector closing 4 messages
split valve I am trying to make it so that when ```js collector.on('end', collected => { console.log(`Collected ...
Typescript interaction.editReply optional property 23 messages
simple meteor I'm rewriting a bot in Typescript but I get a compilation error. The Javascript code works as intended but in Typescript...
Best way to send and receive messages in PM ? 8 messages
unkempt drift Hello, I am looking to send private messages to discord clients. I would also like to detect when clients send private m...
Which Event is fired when a tag of thread (Forum Channel) is updated ? 2 messages
pulsar fulcrum Hey ! I wanted to know, which event can I use to detect when a tag is added or deleted for a thread (Forum channel) ? T...
discord modals 3 messages
InteractionNotReplied 8 messages
dull wing I don't know why exactly I keep getting this error, all my code *seems* to me that it defers and replies later on at any...
Bot stops listening after running a long time 29 messages
harsh sapphire I have written a bot using Discord.js 14 which seems totally stable. Its process runs happily for long periods of time a...
Is recommendable wait to search Audit Log? 3 messages
void charm Is recommendable wait X seconds to get Audit Log? To avoid Discord lag and trying fetch an audit that doesn't exist yet?...
Not able to do node .deploy-commands.js when trying this command 18 messages
crisp valley I have a command that uses .addSubcommand but it doesn't seem to work. I'm not able to do /node deploy-commands.js witho...
How can I prevent the Error [ShardingInProcess]: Shards are still being spawned. 14 messages
mellow frigate `Error [ShardingInProcess]: Shards are still being spawned.` How can I prevent this error from being logged? `while (!c...
Best way to update slash commands 122 messages
barren acorn Hi everyone ! I have a pretty large bot with arround 50 slash commands. Some of them are pretty complex and have options...
creating a link between my node.js platform and my discord server 3 messages
quaint pond Hey! I have developed a platform that allows people to sign up, follow groups and also subscribe for additional resour...
Linked Roles 2 messages
sly blaze Hi there, are there any plans to implement linked role support?
discord message problem 5 messages
karmic turtle this isn't working for me, check my code const client = new discord.Client({ closeTimeout: 3_000 , waitGuildTime...
Send a message every minute 4 messages
random vine I want to send message to channel every minute but,,, I want know how to do this at all how can I do this?
Typing in threads 8 messages
wind trail what intents do I need to type in threads? I already have "GuildMessageTyping", but it returns a Missing Access error. ...
Issue with using a proxy 14 messages
molten peak When running a slash command, I've observed an error at the following line: `await interaction.deferReply({ephemeral});`...
How do you kick mentioned people using Discord.js 51 messages
rancid wasp I'm using __No slash command builders__ just using Client.on(interaction) anyone please inform me how to kick mentioned ...
Using gateway and HTTP 10 messages
@discordjs package
Why were some builder patterns removed in favor of passing json objects as function parameters? 4 messages
civic yarrow Having to look up documentation for the expected types instead of relying on the class methods (ex. `setName`)to guide m...
Having trouble editing an already sent embed 13 messages
stiff obsidian Hi! I have some reaction role embeds in my server which display all the different roles. I want to add some roles to a s...
Give User Roles with SelectMenu 24 messages
median frost How can I give the mentioned user the roles selected in the SelectMenu?
can someone help me understand integration permissions 12 messages
wide pendant I set my ban command to have the permission bit of administrator only This doesn't let anyone else see my ban command if...
export and usage problem with modules 21 messages
red oak ```const { Events, ChannelType } = require("discord.js"); module.exports = { name: Events.ClientReady, once: tr...
Send multiple embeds of the same width, no matter the content size. How? 2 messages
somber bloom I've seen on a few discord bots who had their embeds, no matter its content, be of the same width always. However I can'...