djs-questions

13317 threads · Page 51 of 267

ERROR :( 3 messages
twin drum /data/data/com.linux/files/home/Bot/index.js:5 const client = new Client({ intents: [Intents.FLAGS.GUILDS] }); ...
node @discordjs package
React to message with emoji 8 messages
queen glen I know it's probably something really simple but my bot sends a message not in response to an interaction. It should the...
Is it possible to mute someone using a var 17 messages
warm osprey what i mean by that is this ```await timeoutTarget.timeout(muteTime);``` muteTime is a var being set with a specific ti...
💚💛🧡I need Help i am a Bigginer 30 messages
crimson niche i use this code: ```const { Client, Events, GatewayIntentBits } = require('discord.js'); const client = new Client({ ...
node
Defer without message in modal 3 messages
sleek heath how to make the inscription “bot is thinking” in a modal? If I use `deferReply`, the modal window is closed and a “bot i...
node
"Invalid Form Body" when using sendPremiumRequired() 6 messages
pallid lantern Hi all, I'm having a weird issue here. I have monetization and whatnot fully set up on my bot, including a working store...
node
permissionOverwrites#set method 34 messages
winter knot Hi, I'm making a system where I want to overwrite the entire permissionOverwites in a channel. First I'm only getting ...
client.player.getQueue is not a function 8 messages
glad lark I dont understand how it is not a function but oh well, so the problem is that only the play command works and others do...
node @discordjs package
Issues getting message after using it once 129 messages
fierce violet In the following screenshots you can see a summary of what i have been abl to find out until now. - Bot starts, waits 30...
node @discordjs package
Weird error in connection with mongodb 3 messages
old haven I'm getting this error out of nowhere Error: https://pastebin.com/XEprvax6 Code: https://pastebin.com/F8bPhQuy I'm free ...
❤🧡💛PLEASE HELP 25 messages
crimson niche i install NodeJS and i updatee JAVA but i get this errors
node
join message dont works 10 messages
eternal bay it dont even shows log
Remote All Reactiosn 5 messages
gloomy flame How can i detect remove all reactions
"No description" error when sending message 7 messages
glad canopy Hi, as far as I know, discord.js throwing "DiscordAPIError[undefined]: No Description" indicates that an error unknown t...
bun
[NoExtractors] Warning: Skipping extractors execution since zero extractors were registered 5 messages
glad lark Hello I am writing a Discord music bot and I am stuck on this error and I don't know what to do. Please help🥲 Most of t...
@discordjs package
Can I set the slash only for those who have a certain role? 8 messages
vague forum Is there any way for this to work and the slash only appears for those who have the defined position?
Slash Commands 16 messages
node @discordjs package
unknown interaction 36 messages
flint sinew Hi guys, I get the unknown interaction on regular base:'(. See the sourcebin for my error and code. https://srcb.in/N5v...
"Cannot read properties of undefined (reading 'guilds') 6 messages
valid raptor Hi there. I'm pretty new to discord.js and JavaScript (I'm working on Codecademy's course as I do this) and I'm trying t...
Issue with Modal -- "Something went wrong. Try again." 14 messages
crude rapids I've been trying to get the response from a modal, but nothing seems to come down the websocket at all and it just state...
deno
Trying to get a list of members of a role 35 messages
barren pebble <:peepoThink:703556319734530050> I'm getting the message of a user (me) and then im trying this and the `roleInfo` is un...
delete channels 36 messages
hearty rain How do i delete channels fast? Becausen when you normally make a loop and delete channels its kinda slow
node
"The application is not responding" 17 messages
viral nest Can someone tell me why my bot executes the command without any problem, but once this is done it responds with "The app...
How do I convert this code to v14 ? 6 messages
cursive notch ```js const discord = require('discord.js') const client = new discord.Client({ intents: [discord.Intents.FLAGS.GUIL...
Building Embed & 3 Buttons in v14 (use ActionRowBuilder and EmbedBuilder?) 8 messages
safe sorrel I have a function that 'compiles' and sends an embed and components (which are three buttons) to a text channel: `async...
node
addFields choose position 3 messages
ornate notch Can i choose a index when adding a new field to my embed?
DiscordAPIError[undefined]: No Description 22 messages
fierce violet Randomly started happening after i executed a menu command (right-click, apps) https://blackwolfwoof.com/s/wTpoegtR9oFwQ...
node @discordjs package
Issues installing @discordjs/opus 9 messages
olive talon Attempting to install discordjs/opus, getting multiple errors. I've successfully installed the build tools, VS 2017 buil...
@discordjs package
Interaction 14 messages
rose pendant How am I able to fetch the display name of a user in the interaction guild? I tried interaction.member.guild.name but it...
ClientUser banner is undefined when force fetching on ready 111 messages
thorny gate I decided to open a post because I asked in d.js help and go no reply and i then bumped the message 2+hrs later and sti...
Validate Slash command text 4 messages
gusty star Is there a way to go about validating slash command text? For instance I have a slash command that takes a name and a u...
@discordjs/rest & Nextjs v14 error 3 messages
steady violet I'm trying to create a dashboard with Next.js to manage a Discord server and organize some stuff like events and tournam...
node @discordjs package
Create role with custom icon 5 messages
bitter cipher Is it possible to create a role with a icon without the custom icon being on the server, since you can upload a file dir...
node
New Error 4 messages
gloomy flame TypeError: terminated I got this error only in one bot
Changing rest api of WebhookClient 34 messages
fierce violet By the looks of it this seems to be possible but i am having difficulties understanding the structure of this
@discordjs package
Get join method 2 messages
versed jay is there any way to get join method info from the members tab? I could not find information about this in the disocrd ap...
node
Building custom messages from the discord-giveaway package 3 messages
mighty pelican I'm building an discord giveaway system using https://discord-giveaways.js.org/global.html#GiveawayStartOptions. Now can...
Broken Code 16 messages
help 12 messages
coarse ore const fetch = require('node-fetch'); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\georg\Des...
How to get a username from id if the user isn't in the server (for unban command)? 4 messages
nimble moth title
Create channel 6 messages
sullen frigate Hello i don't why i have this error : Invalid Form Body name[BASE_TYPE_REQUIRED]: This field is required at handl...
My discord bot doesnt respond when i write a command in DM but in server or guild it reply 3 messages
opal bough I just get into discord bot stuff and trying to improve my soft skill in coding so I give a shot to develop a discord bo...
node @discordjs package
Roles not adding correctly 3 messages
dev release
Roles not adding correctly 2 messages
atomic elbow ```ts // Member is a GuildMember, passed from the interaction's interaction.member. i.e.: const member = interaction...
dev release
Roles not adding correctly 2 messages
atomic elbow ```ts // Member is a GuildMember, passed from the interaction's interaction.member. i.e.: const member = interaction...
dev release
why this collector isnt working?its not responding to the answers 7 messages
wicked cypress ```js module.exports = { data: new SlashCommandBuilder() .setName("quotes-quiz") .setDescription("An...
why cant i see my slash command when i test it? its not working 16 messages
coarse ore ```js const { Client, Intents } = require('discord.js'); const client = new Client({ intents: [ Intents.FLA...
Do I need to manually check if each message in an Array is bulkDeletable? 3 messages
upper prairie I am currently writing a purge command for my bot, I mean, app, and I came across the `Message` property `bulkDeletable`...
TypeError: Cannot read properties of undefined (reading 'GUILD_VOICE_STATES') 7 messages
coarse ore why is this happening const { Client, GatewayIntentBits } = require('discord.js') const client = new Client({ inten...
Wrong user count 11 messages
supple pumice ```js const { EmbedBuilder, ApplicationCommandType, time, version } = require('discord.js'); const botJSON = require('.....