djs-questions

13317 threads · Page 158 of 267

Api error?? 23 messages
nocturne plank Idk what it meens The error: ``` Process exited with code 1 Uncaught DiscordAPIError DiscordAPIError[50035]: Invalid Fo...
how to get userName, tag and Id? 4 messages
summer coral I want to bring the user name, ID, and tag written on 'username' in `addStringOption`, how can I bring it? ```javascrip...
Can I fetch the `Application` of another bot? 9 messages
inner pebble tryna create a /botinfo command, and it would be nice to get some information about that bot's ClientApplication thingy
My Web app give me eror 4 messages
wet cape İnvalid request url
Event to detect whenever the member accept (or not) the rules on Rules Screening screen 10 messages
buoyant bramble I want to show a modal to user immediately after he accept the rules (to try to "restore" the unimplemented feature of i...
Difference between GuildMember#disableCommunicationUntil and #timeout 4 messages
full gulch Hi, I'm using Discord.JS v14.7.1, and I was wondering what's the difference between GuildMember#disableCommunicationUnti...
Handle multiple Autocomplete Events on the same Interaction 28 messages
sturdy dagger Okay so i am trying to handle more than one autocomplete interactions on one command> The command looks like this: ```ts...
GuildScheduledEvent#fetchSubscribers is not a function 12 messages
leaden tulip I try to call "fetchSubcribers" on a GuildScheduledEvent from a GuildScheduledEventUserAdd-Event. But it's always throwi...
Sending messages with Interactions 18 messages
dusk fern I have an unexpected result when sending a message with Intentions. ```js async execute(interaction) { await intera...
Is it possible to change modal submit button text? 6 messages
marsh sigil Is it possible to change the text on the submit button of a modal? e.g. Change Submit to Apply, or Send
Bitfields 6 messages
slender jewel Hi, I've been having an issue when trying to take the permissionOverwrites from one channel and trying to create a new c...
Buttons 33 messages
edgy laurel .
Weird Autocomplete Error 3 messages
modern mulch The error stems from the circled line
channel.threads.fetchArchived not returning expected result 53 messages
devout mural I am trying to pull all archived private threads before a specific date and my query doesn't return the result that I am...
Slash Commands badge not showing on bot user profile 7 messages
vast cloud I've recently noticed that my bot doesn't have the slash commands badge on the bot user profile. My bot only uses slash ...
Message collector in slash commands 20 messages
Performance issues 5 messages
halcyon jolt So as far as I can remember djs consumes a lot of ram, resources which make it unusable to large bots and leaves the spa...
Crosspost fail 26 messages
void charm **Node version:** v18.14.2 **Discord.js version:** 14.7.1 My bot has administrator role. It can sends/read the original...
set custom property on a message before sending? 23 messages
cerulean bloom My bot will listen for a message and then respond if certain criteria are met. When the bot responds, I'd like to "tag" ...
this .setColor('#2f3136') has been added but the color is still not showing 6 messages
autumn prism .. this .setColor('#2f3136') has been added but the color is still not showing
Can't send embeds 9 messages
tiny zinc I have this code (screenshot) and when I run it does not work at all, just replies with the content without the embed I ...
Rest.put erroring "Missing Access[50001]" 10 messages
limpid hull So, I'm using Discord.js v14 and I stole some code from my other bot, but for some reason rest.put ain't working and I c...
Problem making an embedded message with discord bot 9 messages
Command Responses 25 messages
dusk fern Trying to make responses look tidier, so as not to spam messages, currently I have this: ```js async execute(interaction...
Registering slash commands 9 messages
native rune How can I register a slash command only in private messages from users who write to my bot? And yes, how can I delete th...
defined client as bot, but interaction.bot is undefined 3 messages
dusk fern So I have defined Client as "bot" in my index.js, and refer to it wherever needed without issue, until I come to Interac...
Supplied parameter is not a User nor a Role. 7 messages
autumn spruce yesterday without making any changes I just started to get the extra error (does it in create ticket and switch channel...
Please send me an index.js. 55 messages
proud pasture I asked an official for help with the installation, he kept throwing the site at me, I did not understand anything from ...
hello 17 messages
runic sapphire i have a couple things for one i was wondering how i can do multi guild banning and two i get this error
About awaitMessageComponent filter 8 messages
drifting forum Where i can see a args for filter like this page https://discord.js.org/#/docs/discord.js/main/typedef/CollectorFilter ?...
TypeError: Cannot destructure property 'id' of 'data' as it is undefined. 54 messages
placid sorrel trying to use a webhook
user ID from command 18 messages
nocturne plank How should I get the user ID from command runner
Check if guild member can use slash command. 5 messages
subtle cypress I want to send ephemeral reply message with listed only slash commands (commands mentions), that guild member can use, a...
Welcome message for bot not sending 9 messages
tawny vapor Currently working on a welcome message for when people join my server. I have already set my code up and put the channel...
How many options can be placed within a field? 3 messages
knotty grotto How many options can be placed within a field? (`.addChoices`)
setPresence not working 44 messages
prime ermine I created a command to change the presence of my bot (and a separate command for status) and nothing seems to be working...
TypeError: Cannot read properties of undefined (reading 'cache") 78 messages
twin birch Hello, I want to create a bot that can also execute his commands by API calls, i have trouble with a simple 'sendMsg' fu...
Send silent messages 5 messages
turbid turret I want to send silent messages (@ silent as first word). But if i do that the message will start with @ silent instead o...
Get Conversations between a time interval from a channel. 7 messages
empty crescent I want to get text conversations between certain time interval in a channel. What will be the best idea to get the mess...
How to get the person who banned another ? v13.7 2 messages
signal notch i want to make log about someone getting banned with the "guildBanAdd" event and i dont know how to get the person who b...
Changing command options doesn't update autocomplete 2 messages
oblique shell I have a bt with some commands that take 3 arguments (for example /help [category] [subcategory]) when selecting a categ...
How to get list of allowed intents 8 messages
proven magnet Is there a djs method to get a list of all intents my bot is allowed to use?
can not edit or delete interactionResponse 4 messages
keen rampart i save my response to an object after replying like this ``` servers[interaction.guildId].playerInteraction = (await int...
How to properly display message content in context menu commands? 11 messages
rancid bay Yeah, I'm working on a report message context menu, and for some reason, the content in the response has <@ at the begin...
Setup 50 messages
proud pasture Can anyone help with the installation? I have some questions.
Is an event emitted when the server's custom invite link is added/removed/changed? 11 messages
Get access token 2 messages
@discordjs package
Last message BOT 5 messages
dawn hatch I should do that when the song ends embed gets deleted, I tried using the command channel.last.Message.delete() but with...
Retrieve the last message (reply to a specific user) the bot sent 9 messages
buoyant bramble Hello! I'm coding a personal ChatGPT bot for my guild, and one of the payload fields to sent to openai should contain th...
Gateway problems. 52 messages
slim osprey Hey can someone help me with my bot? Suddenly my bot started to spam "Error [ShardingReadyTimeout]: Shard 1's Client too...