djs-questions

13317 threads · Page 131 of 267

constants.json not found 10 messages
ashen topaz ^
How to detect if a string is a snowflake and check what type of snowflake it is? 9 messages
gusty thistle I've been doing this but i want to know if there is an easier way ```js const snowflake = options.getString("snowflake")...
send msg to certain guild & chan 8 messages
empty knot Is it possible for a bot to send a message to a specific guild & channel on that guild ? if so, can I get a snippet or l...
I get this error 11 messages
timid nest PS C:\Users\Ahmet\Desktop\bot> pnpm install discord.js pnpm : The term 'pnpm' is not recognized as the name of a cmdlet,...
How to add more than 25 choices to autocomplete option discord.js v14 3 messages
neon tinsel I have 35 choices but discord only loads 25 can you make it so that you have more than 25 choices but only 25 are displa...
Getting New post from a forum? 2 messages
near hound Is there a event for new forums post or do I need to do something else to check for new posts in a forum?
pull members 39 messages
bold sigil How would I make authorised members join a server?
Idk why this happens 7 messages
dusty sapphire There's no error but the intention of the code is to send and embed when it detects a forbidden word. But don't works
Where do we report documentation link/quality issues? 6 messages
echo grotto I'm running into some broken links in the docs, e.g. on https://discord.js.org/docs/packages/builders/stable/EmbedBuilde...
@discordjs package
What would be the best approach for generating an image as variable as this? 4 messages
bright patrol Attached below is a Figma mockup I made of how the output of my bot should look like. The bot gives a daily breakdown of...
How to DeleteReply, then Reply to an interaction? 16 messages
silk salmon When a user clicks the button, I am trying to delete the original message with the button using deleteReply(), then repl...
RoleSelectMenuBuilder 10 messages
orchid trail Is there a way to limit which roles will be shown for a user to choose? I want to implement this for a "choose roles" co...
my bot doesn't responding 6 messages
DMs not receiving 5 messages
gray falcon Can someone explain to me why this code doesn't let the bot receive DM messages? It can receive all other messages in gu...
Cannot read properties of undefined (reading 'Guilds') 11 messages
pallid helm I reinstalled discordjs, and now I get this error. Any ideas? `TypeError: Cannot read properties of undefined (reading '...
ROLE_ID from .json file is wrong 26 messages
ashen topaz ^
disable setInterval created in another file of my bot 8 messages
How would i be able to use these buttons multiple times? 8 messages
high sky Right now you can only use the buttons once and never again, how'd i escape this while still having the time limit to us...
Announcement publish 11 messages
last relic Is it possible to make the bot auto publish a announcement?
Context Menus in DMs 14 messages
candid oyster Can someone point me to a resource going a bit into detail about ContextMenus in DMs. The discord api docs aren't very u...
discord bot is taking lots of time in giving responses.using latest version of discord.js 56 messages
cobalt echo discord bot is taking lots of time in giving responses.using latest version of discord.js
Autocomplete 25 entries limit bypass 17 messages
near shale How can I bypass the 25 entries limit? I have an array of about 8000 entries <:sad:946200437860761653> ```[ 'arabacal...
0 coding experience and made this bot from templates and guides 5 messages
safe ether So i was literally laser-scanning every part of the web to make a discord moderation bot and found some templates and bu...
@discordjs package
GuildMemberManager always fetches from API when requesting multiple users. 7 messages
oblique saddle Hello! I noticed `GuildMemberManager` ignores the cache when fetching multiple users. I was wondering if this is intende...
dev release
Select Menu not responding 50 messages
small coral So I am coding a command that requires select menu to show more embeds. Soon I will be adding buttons to these responses...
Discord bot taking lots of time in giving responses. 17 messages
cobalt echo hey i am using [email protected] and discord bot taking hell lots of time in sending responses? does any one know why it...
Import ButtonStyle 7 messages
shut turtle Good morning, does anyone know how the ButtonStyle import was in discord.js v14.11? import { ActionRowBuilder, ButtonBui...
I was doing a badword "detector" and don't works when It is to send the console.log 7 messages
dusty sapphire the code: const fs = require("fs"); // Función para detectar la palabra prohibida. function detectForbiddenWord(conten...
Disabling Components 14 messages
jovial moon ```await i.update({ components: [ActionRowBuilder.from(buttonRow.components[0]).setDisabled(true)]});``` Doesnt Work
broadcastEval blocks all shards 12 messages
faint reef Hello. I have a broadcastEval which calls a function on each shard. After running on about half of the shards, all shard...
Cannot Hear Bot's Audio (Distube Library) 5 messages
quick tendon Everything works fine in the below code as intended. Bot Joins Voice Channel and displays the name of song that is going...
Client Permissions 5 messages
jovial moon How To Check If Client Has Permissions
Missing Permissions 12 messages
near shale ```javascript Error occurred while changing the nickname: DiscordAPIError[50013]: Missing Permissions at SequentialH...
Using channel selectors in modals 11 messages
oblique shuttle Hi all, was wondering how I can go about using channel selections inside of a modal? I am currently trying to get `Chann...
Edit an ephemaral embed 9 messages
hybrid juniper Hi, I have two event handlers slashcommand.js and selectmenu.js. my slash command send an embed with a select menu comp...
Error "Something Went wrong. Try again" 33 messages
candid kiln Hello, I have an error with modals, when i send it with my client by clicking on the button "submit", it wait ~3 second...
Buttons not being added 18 messages
ashen topaz ^
Error when attempting to send message to a specific channel 3 messages
pallid helm `TypeError: Cannot read properties of undefined (reading 'send')` ```js const channel = client.channels.cache.get(...
little help 9 messages
ornate galleon hello i need some help with code error
I get this error please help me !!! 38 messages
timid nest Error: Cannot find module 'C:\Users\Ahmet\Desktop\bot\bot.js' at Module._resolveFilename (node:internal/modules/cjs/...
Error when trying to add buttons to Discord JS interaction.reply 9 messages
narrow cradle .
how can i create a discord bot 16 messages
lyric mortar hello , i want to create a discord bot but whenever i try it i faced with problems and i couldn't solve this problems an...
hi there, 6 messages
paper raft is there a way to add a time zone to an embed for example i want to display different time zones in certain channels to ...
how to create a discord bot ? 19 messages
tiny aspen I'm just updated my discord.js from 1.12 to 1.14 And i don't know how make my bot online, every is just error and error ...
Sharding Timeout 3 messages
silent plover I need help my pls
encyclopedia embed type thing 44 messages
random terrace hey so i was trying to make a dex or enc for my bot's items and i keep getting this one error: Uncaught DiscordAPIError ...
How to put my list of commands in choices 45 messages
frosty lotus Hello, I can't get the choices for my string option to be the list of commands in my command database Here is my code: `...
How to use a own prefix instead the slash commands? 4 messages
alpine lily hi, how do I do if I don't want to use slash commands but I want my bot to have a prefix that I choose. for example '!'
What events are sent out when someone prunes members? 21 messages
hollow sandal Hypothetically if someone prunes 100 members, the bot receives a audit log prune event. Does it also end up receiving 10...
How much resource discordjs is really using 8 messages
orchid zodiac I need an approximate answer about my music bot hardware usage per user. For example how much ram will it use for 100 pa...