djs-questions

13317 threads · Page 142 of 267

Interaction.followUp() not working after interaction.update() 22 messages
tender bison So it's simple, according to the guide after a update() I should use the followUp method, for example, to send a message...
So i had my modal showing up last night but for some reason now it isnt showing at all 15 messages
mild meadow ```const { Events, ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js'); module.e...
DJS Caching Support 177 messages
scarlet geyser So I've been having a few memory issues lately and I've been taking memory snapshots. I saw that some of that data is ju...
SelectMenuInteraction Deprecation 2 messages
timber nexus What is SelectMenuInteraction replaced with?
Why doesn't the Client.on method show up in documentation? 11 messages
bright tusk https://old.discordjs.dev/#/docs/discord.js/main/class/Client How come there's no documentation for it here? Is it part ...
discord.py/discord.js listening in real time 2 messages
dawn gale Do discord.py or discord.js have to ability to listen to user audio? kinda like siri, or alexa
Is there any type of making a select menu **IN** the modal? 29 messages
sullen raptor For ex. if I want a true/false value in modal, or some way to collect user input where he chooses true/false.
TypeError [InvalidType]: Supplied parameter is not a User nor a Role. 26 messages
mellow frigate Why am I getting this error?
Question about Modals 7 messages
lucid flicker Is it possible to insert in SelectMenu in a Modals?
ButtonInteraction.editReply not editing old message but create a new one 4 messages
terse echo Hello, I'm doing a panel which looks like to the one used by Ticket Tools to manage their tickets, however I split every...
Second step confirmation 13 messages
grim tide Im making a deposit system to deposit USD, does discordjs allow to hold slash command execution and send a panel with 2 ...
My OAuth2 URL isn’t working. 2 messages
lilac quail I need an OAuth2 URL for my bot that uses d.js v14. I created it from the Developer Portal and the URL works, but when I...
what are the advantages/disadvantages of using djs Collection or js Map over a regular object? 2 messages
upper wraith ik that they keep the order that the data was put in, but is there anything else?
@discordjs package
sapphire error? 10 messages
@discordjs package
.setImage EmbedBuilder 2 messages
dense kernel im learning to interact with api's and im having trouble with setImage for the embedbuilder theres alway a url in the da...
What's the difference between a Collection and a Map? 4 messages
thin elk title
Button is not bringing up the model im not sure why 127 messages
mild meadow ```client.on(Events.InteractionCreate, async interaction => { if (!interaction.isButton()) return; if (interact...
Attachment in embed 6 messages
icy lotus Hey, how can I turn `interaction.options.getAttachment("image");` into an attachment to use in an embed? I've tried to ...
Change username and avatar for one message only 4 messages
Post with user discord account not bot 24 messages
coral plume hello friends, I'm building a forum using the discord api, is it possible for the user to log in using his discord accou...
TypeScript Documentation 8 messages
halcyon python Is there any official documentation or references within the documentation to using Discord.js with TypeScript? I took a...
Search messages from user 6 messages
late shale Is there a function in the discordjs api to search a server's messages for a specific phrase from a specific user, like ...
Expanding the message cache 4 messages
digital nova Quick question: Will this create a cache of 5000 message per channel? ```cpp makeCache: Discord.Options.cacheWithLim...
get crach error 2 messages
mortal pendant hi, its possible/how to get all console info in a txt (so i can see why the bot crach)
How can i create my own custom property in sharding Options ? 2 messages
thorn matrix for ex:- `restarts: 5` // Max number of restarts Also i am using `discord-hybrid-sharding` so i can create `guildPerSha...
errors guildmessages is not defined 97 messages
zenith crown const { Client, IntentsBitField } = require("discord.js"); const client = new Client({ intents: [ IntentsBitField...
My internet wasn't working properly and I got weird ssl errors about facebook domains? 4 messages
sudden bronze Is discord sharing ssl certificate with facebook or something? I don't have problem with my code. I just found this stra...
discord-rpc large-image 3 messages
velvet knoll I'm trying to make rpc display an album cover: ```js if (status.state === "stopped") { return { state: "Stop...
RPC
How do i fix this error 6 messages
smoky quail ``` DiscordAPIError[20012]: You are not authorized to perform this action on this application ``` all i did was make a ...
[SOLVED] Create VC with certain user-limit. 7 messages
sick meteor how would i create a voice channel in the server with a specific user limit?```js const tempVc = await guild.channels.cr...
Old banner shown, despite having no Nitro. 4 messages
I can't detect the message reactions 64 messages
obtuse schooner What I want to do is check if the bot has reacted to the message, but it only works if I react to the message too, which...
Update or rewrite? 5 messages
white tree Hi, I originally wrote my bot with discord v12 and have made some slight changes to it over the years but not much. I wa...
How can I lower my bot's ws ping? 9 messages
distant basin .
Missing permission 43 messages
regal comet Hey maybe a stupid question but my bot has Admin permission role but i get this error when i try to add a role to an use...
cant get the user option 13 messages
upbeat shell i have a subcommand with a `user `option and a `string `option. Im trying to use autocomplete in the string option. And ...
Ticket Error 28 messages
winged sundial I believe i need to place ` if (interaction.customId == 'ticket')` some where in my code but im not sure where/if it is ...
How to make reaction roles? 7 messages
401 when trying to delete my own message after 1 hour 7 messages
pine pewter When trying to delete a reply after 1 hour I get a 401 error. code: ```ts const reply = await interaction.reply({conten...
Is there a way to use a modal in a context menu? 7 messages
obtuse schooner I'm trying to use the modal to provide a value when the context menu is triggered, but I can't pass the message to the m...
discord embed prompts iPhone 2 messages
copper thorn Is it possible (or planned in the future) for a discord embed to prompt an iPhone feature, mainly the call feature? Ie c...
dev release
weather command doesnt take any option as input 15 messages
near drum So I created a weather.js file for the weather slash command that should take the city as option and display the humidit...
Out of memory: wasm memory 3 messages
Message not sending 6 messages
pallid helm only logs fetched successfully with no message being sent, any ideas? https://pastebin.com/wrLL216e
What even is this and why am I getting it? 23 messages
tawdry crystal if (options.rest?.userAgentAppendix) { ^ SyntaxError: Unexpected token '.' at wrapSafe (intern...
Finding out who removed reactions 4 messages
tawny jetty Is there any way to figure out who removed reactions on a message, starting to feel like API doesn't handle this. I don'...
Trying to read a message from DMs 7 messages
Handling Permissions (want Feedback) 7 messages
little temple Hi, I'm trying to do some extra error handling if for some reason the bot permissions were changed and events/commands f...
Auto Embed 31 messages
charred igloo I have the issue where if user sends 2 links, they will properly embed as above, but when bot/webhook sends same content...
Getting fist N elements from a collection 7 messages
quick stirrup Hi, I have a `Collection<string, number>` that I'd like to trim to top 5 elements in command autocompleting. My current ...