djs-questions

9202 threads · Page 138 of 185

FLAGS is undefined. 7 messages
past egret I'm trying to make a discord bot that reacts with a thumpsup and a thumpsdown to even message sent in a specific channel...
Get number of channels in category 4 messages
pliant swift Hello, pretty simple, trying to do the above. if I have the CategoryChannel object, I've tried CategoryChannel.childre...
AutoMod? 4 messages
last relic Is there a docs or anything how to use the Automoderation stuff in discord.js?
Can bots have server-specific profile pictures? 2 messages
raven oriole I know that users can set server-specific profile pictures, but can bots also do this and is this functionality availabl...
whats the limit for automod rules on one server 3 messages
upper wraith how many automod rules can a server have
PayPal API 5 messages
hallow briar ```js const { Client, GatewayIntentBits, Collection, Events, EmbedBuilder, PermissionsBitField, Permissions, MessageMana...
Best way to use Lavalink with djs v14? 2 messages
fathom hinge Hey everyone, a year ago i wrote a music bot using djs v13 & erela.js for Lavalink connectivity. Ive not been in the loo...
DiscordAPIError[50035]: Invalid Form Bodydata[BASE_TYPE_REQUIRED]: This field is required 3 messages
fathom cliff ```DiscordAPIError[50035]: Invalid Form Body data[BASE_TYPE_REQUIRED]: This field is required``` trying to show a modal...
Is there a way to use .join() function for a collection and only show the first 6 collections. 4 messages
mild meadow so i am using an embedded message to try to show the first 6 collections but when i use the collection.first(6) it shows...
Alternative way for createMessageCollector without the Message Content Intent 10 messages
prisma fjord Hi there ! I just got my bot verified recently and everything works great until I found out that I have to disable all t...
Specific Words from message content 2 messages
drowsy crescent Hey, how can I get specific words and their following word from a message? Like: message.content.find(,word that should ...
Slash Commands not Registering after being added to a new server 4 messages
coral sparrow ... but they work on the old server it was running on.
Can I use two tokens in one project? 20 messages
drifting haven Is there method to put more than one token in same project?
i am getting an error from my modal but it is doing what i want when i hit submit the modal. 4 messages
mild meadow the modal is working but the box wont go away i know it is from the interaction.message.reply but i need it that way for...
can someone for the love of god tell me how to reply to a GatewayDispatchEvents.MessageCreate event 30 messages
quick flower code looks like this: ```js const client = new Client({ rest, ws }); client.on(GatewayDispatchEvents.MessageCreate, asy...
998292157150535700
Which Discord.js version supports API version 9? 4 messages
west marten Which Discord.js version supports API version 9?
client.ws.ping was removed? 15 messages
proven gyro How do I get the bot ping now? Im using last @discordjs/core @discordjs/ws last package version
998292157150535700
how to fetch all messages in channel 12 messages
simple sierra Using data from the command
Custom bot's avatar on different servers 3 messages
gaunt ether Is it possible to provide possibility for users to change bot's avatar locally on servers?
Send a message in a GuildBasedChannel ( TS ) 9 messages
robust sentinel Hello ! I'm trying to send a message when a player join my server. For this, I used the event GuildMemberAdd. I now need...
How to send data externally to bot 3 messages
past eagle I'm hosting my discord bot on Contabo and I'm looking for a way to send data externally to the bot, for example using a ...
Webhooks 6 messages
drowsy crescent Hey, I wonder how I can detect if a Webhook was send?
.addChoices() - Dinamically update the options 3 messages
grave mulch Hello 🙂 I'm trying to figure out if it is possible to manage the options with a sql query in order to populate them eve...
help my bot doesn't seem to listen to my command or send messages 20 messages
crisp verge After few months im tryng to create a new bot but it seems to not listen my command test, the bot runs, it doesn't seem ...
timing issue with caching of guild? 23 messages
snow anchor I'm wondering if I'm getting a sharding case of cache LRU replacement or something similar...I have a rare case where "h...
isText 20 messages
random sonnet hey, i need help
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent' 22 messages
plain willow TypeScript error with the message: ``` Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActio...
Random disconnect from websocket 15 messages
regal pewter I have periodically reconnecting to websocket every 1-2 hours and I do not know how to fix it. I thought it was my inter...
How can I detect user answer ? 16 messages
cyan sequoia Hello ! I'm trying to create a quiz bot for a blindtest game. The bot is supposed to pick randomly a sentence in my `qu...
Ban Logs problem 1 messages
gloomy flame i always use that ban logs (https://sourceb.in/quZGXnx44W) but know it dont return something any idea?
Options as alternative to subcommand 3 messages
urban nimbus I want to have a command that either has a subcommand or an `IntegerOption`. Shown in the screenshot are the three comma...
About the agreement rules event 6 messages
visual crater Hey, i wanted to now how i can have the information on my bot then a person accept the rules whit the Discord things mak...
Hello, I'm making a discord bot, I just started these things, I want to make a command like this, ho 20 messages
royal notch Hello, I'm making a discord bot, I just started these things, I want to make a command like this, how can I do it?When a...
I want to edit the embed in the slash command with my modal submit in my interactions create 37 messages
mild meadow im not sure if this is possible and im almost certain that what i have is probably nowhere near how to do it but im tryi...
Permissions stupid asf 64 messages
plucky heath When I use `message.guild.members.me.permissions.toArray()` it returns an array of permissions but the bot doesn't have ...
Role color 7 messages
plucky heath Bro wtf this server look weird af but is it possible to change the bots role color (the one they get when joining the se...
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? 28 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?
998292157150535700
.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...