djs-questions

9202 threads · Page 99 of 185

Is it possible to check if a user has 2fa enabled? 8 messages
pliant wing I've searched around a bit but the only thing I found was `mfaenabled`
[discord-rpc] Prevent multiple listeners 4 messages
woeful hedge guys I have a question ```js app.post('/extension-call', (req, res) => { if (req.body.playing === true) { u...
1003448629866020986
Edit embed with message ID 5 messages
bronze saffron I want to edit an embed with the message ID. I try this `client.channels.cache.get(channelId).edit(msgId, {components: [...
Check if a user has Nitro or not 9 messages
dawn zephyr Is there anyway to check if a member/user has Nitro or no in discord.js@13/14 ?
DiscordJS Hosting 4 messages
regal python Hi ! Anyone know how to host a discordjs bot for free with github ?
Restrict slash cmds to admins and me 34 messages
onyx horizon How would i make my slash commands only be available to admins of a server and to me? heres my slash cmd code ```js req...
Using Commands 29 messages
dense kernel my main discord account can access my bots commands but when i try to use commands from a second account nothing shows u...
GuildCreate and GuildDelete iconURL when null 19 messages
rare coral Hello, I'm trying to make my bot log which servers it joined/left with name, icon and id but it creates an error and doe...
Giveaway interection question 43 messages
grave stone Hello , im new in discordjs, i actually download the foundation of discord bot from github, then on top of it i create m...
InteractionAlreadyReplied even with catch 1 messages
brave pewter code: ```js await interaction.deferReply({ ephemeral: config.commands.leaderboard.ephemeral }).catch(() => {}); ``` When...
Doesn't DiscordAPI reflect the latest role position? 13 messages
molten moss I made a test guild for my bots. The guild has this roles scoreboard(?) - Owner - Mod - Member Guild has these members...
guildLeave fires on bot restart 2 messages
fallen dome Hi all, when I restart my bot the guildLeave event fires several times always reporting the same ids of some servers (wh...
Voice messages 9 messages
pure radish How to send an audio file as a voice message?
avatar options 9 messages
unique mauve I want it to get the target avatar when the command user put it in but if there is no target then it would get the comma...
(Looking for advice/tips) Developing a bot for my server 4 messages
lime star Hello, I'm pretty familiar with coding and how things somewhat work, and wanted to try my hand at making/developing a bo...
Error with deploying commands 27 messages
boreal root I followed the discord.js guide and made my own command, but when I try and run `node deploy-commands.js`, it has an err...
TS + D.JS Error - unable to get the options 11 messages
plain whale Hi, I'm working with a CommandInteraction here & am trying to get the option values. I'm working in a Typescript bot and...
member.pending and requirements 8 messages
cold sand Does the `GuildMember.pending` will return `true` if the user has to wait the 10 minutes before talking or hasen't verif...
Webhook rate limit 19 messages
glad canopy Hi, my bot can't send webhook messages (promise not resolving) but using node-fetch it is sending them just fine. I thou...
My information command does not respond. Please help 4 messages
halcyon scarab ** Here is my code; ** ```const { SlashCommandBuilder, EmbedBuilder, Embed } = require('discord.js'); module.exports =...
Widget Channels 1 messages
night hemlock What are these? I've seen them in the `Guild` class but I don't know anything about them.
Deselection the option in select menu 22 messages
granite turtle hi, how do I uncheck the option after an interaction?
How to make gateway shards always reconnect. 30 messages
somber vessel Hello, currently shards stop reconnecting after few tries. What do change so they will keep on try to reconnect but mayb...
How to cache and receive User Object 10 messages
tidal yoke Hello, I'm currently trying to cache users by using ```js let test = client.users.cache``` and i log it by: ```js ...
.setTimestamp is not a function 6 messages
potent obsidian ```js client.on("messageCreate", (message) => { if (message.content.startsWith("ping")) { const exampleEmbed = n...
How to respond image for autocomplete? 10 messages
dense nimbus Hi, I'm trying to build a similar discord bot with a slash command just like as a default one called "giphy" As you can ...
Bot Thinking error 1 messages
odd spire When I execute a slash command, it is keep thinking 🤔
How to get a member's discord id using javascript? 6 messages
iron quartz Hi, I have a discord server, i used tatsu bot to allow points to members of my server based on how active they are. For ...
how to use proxy in djs 4 messages
peak sparrow how to use proxy in djs
998292157150535700
Private/Public Application 19 messages
onyx urchin Is it possible to change a application from public to private?
Directory Error 19 messages
odd spire /home/containers/src/commands/test.js Meets a error of no directory
going back to previous embed 3 messages
wary vapor i have 2 embeds in MessageCreate event which checks message then only send the embed, and other embeds in Interaction cr...
Weird Error 14 messages
torpid holly ```js CombinedPropertyError (1) Received one or more errors input[2] | CombinedPropertyError (1) | Received o...
Button callback not working 11 messages
random terrace i had this button function that used to work properly, now that im checking in after a while of refactoring it just does...
Duplicate Message Send 7 messages
sudden geyser Hello, I've been having an issue with a channel.send() call occasionally resulting in a message being sent multiple time...
messageDelete & messageUpdate issue 4 messages
torpid holly .
Is screenshare possible ? 3 messages
solemn dock I'd like to make my bot able to display a map on the screen, but with screenshare, which will make the interface clean a...
998292157150535700
createMessageComponentCollector on a followUp is causing all sorts of inexplicable errors 33 messages
humble meteor So I don't really know how else to explain it. First and foremost, here is my code: https://pastebin.com/ezhdgMvT Now ...
bulkDelete reason 4 messages
cunning moth Why can't TextChannel#bulkDelete be provided a reason? The Discord docs say that the bulk-delete endpoint supports the `...
channel.threads.create at collector creates two threads in one time 5 messages
blazing glade ``` async function setup_message() { const { guild } = require("./discord_bot.js") var channel = await guild.cha...
Do you think its possible to add emote in Context menu command name please ? for example `.setName(' 25 messages
cyan nexus Do you think its possible to add emote in Context menu command name please ? for example `.setName(':red_square: Carton ...
Syntax error. 3 messages
last wagon ```js /root/Xenix/Xenix/node_modules/discord.js/src/client/BaseClient.js:29 userAgentAppendix: options.rest?.use...
Premium services 3 messages
rose field What's the best way to do premium services in my discord bot? Ive never done that before and wanted to know the best way...
Unknown Interaction - @discordjs/core 15 messages
obsidian scaffold I'm working on a bot that handles interactions via a webhook url, and am processing them in AWS Lambda. I have everythin...
998292157150535700
Is there a character limit to the .setLabel() field in the StringSelectMenuOptionBuilder? 3 messages
pure skiff title
My application does not start 29 messages
copper smelt I was tweaking some parts of the application, when I run the command a few times and I get "The interaction failed" yet ...
error 54 messages
lone bridge I have done codes of basic slash commands, but when i try to run node deploy-commands.js, this error appears: Error: EN...
Interaction Failed, buttons are not working 18 messages
vestal spindle https://srcb.in/1UpGBbIlfM buttons are not working, interaction failed. But select menu works
Creating a attachment with a link 26 messages
tidal yoke Hello! Currently i have a link that is cdn.discordapp.com in a webp format, how can i use attachment builder to upload ...
what is this 6 messages
obsidian frigate Guys does anyone know how Midjourney achieves that editing window, within discord??? Like this (attached image) What exa...