djs-questions

9202 threads · Page 129 of 185

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...
slash commands 4 messages
slender dawn slash command not showing
Does DiscordJS support being able to read super reactions? 3 messages
signal marlin As the question says does current discordjs have the ability to parse between normal and super reactions?
Help with Understanding Cache Sweepers 5 messages
drowsy crest So if I set the interval for a sweeper to every hour, after an hour of my bot being online, if I'm using the users sweep...
Update message with images using discord.js REST 15 messages
fringe panther I'm trying to add images to a message using discord.js/REST V10, but without success My code: ```ts const rest = new RE...
998292157150535700
Edit Embed send via Interaction Reply on component input 59 messages
vapid crescent Not even sure if the title is exactly what I'm looking for/makes sense, the last version of discord.js I used was 12.x, ...
cant install @discordjs/opus 4 messages
void heath As the title says, im trying to install opus, but its not being added at all. No errors so far.
The bot doesn’t go online. 16 messages
alpine lily hi, what should i do if my bot doesn't go online? (the console returns no errors when I type “node index.js” or “node .”...
.getMember casuing an error 19 messages
ashen topaz ^
discord not defined 33 messages
next heart ReferenceError: Discord is not defined at Client.<anonymous> const { Client, GatewayIntentBits, MessageEmbed } = ...
Webmseeker Error 7 messages
orchid zodiac I posted issues here: https://stackoverflow.com/questions/76292124/maxlistenersexceededwarning-discordjs-webmseeker-erro...
Stage Bot 6 messages
rotund birch So many of my clients cannot join to speak on stage channel because of bugs in discord mobile version of the app. Accept...
Sending an array but read as an object 24 messages
ashen topaz ^
Discord.js don't work on Ubuntu 26 messages
charred onyx I've been running a bot for a few months and i've never had a problem running it with windows, but when i put the conde ...
"this interaction failed" while the event seems to work fine 7 messages
chilly parcel I have been trying to code a "/setup" command for my bot and I wanted to to be settled with select menus, diving from pa...
Am i able to make a ticket bot w a dropdown once someone makes a ticket ? 6 messages
cloud sable title, i tried a lot of stuff but it just doesnt work for me
Cannot find Category by Name (Discord JS v14.9.0) 8 messages
white thunder I try find category by name, but always I get back ,,undefined". I'm using Discord JS v14.9.0. Here is a code: ``` ...
Temporary slash commands permissions for a member joining empty voice channels 5 messages
humble dew I have made a slash command whose use permissions I am tying to restrict to any guild member that joins an empty voice c...
Hello I have this error: 6 messages
wild raptor ```js components[0][UNION_TYPE_CHOICES]: Value of field "type" must be one of (1,). at handleErrors (C:\Kigo-2\node_...
My Bot cant get any command on DM 6 messages
solid bear Version: V14.11.0 I realise this error today but Idk why. I can use a week ago but idk what happened now My bot cannot ...
Reply interaction 2 messages
mortal pendant Hello, for my drop down menu I use. then so after 15 min it works more and rather than having the message interaction fa...
Discord Bot does not restart when a relog occurs 8 messages
frank crystal So I have this discord bot which interacts with mineflayer (a minecraft bot). I have a relog function within this bot wh...
New Username update. 3 messages
last relic When will the new username update come out for discord.js? Since they're already rolling it out for some users
Command doesn't deploy 9 messages
pallid helm When I try to deploy my slash commands globally, it doesn't show up. Any ideas? ```js const data = await rest.pu...
Bot prefix not being recognised 17 messages
next heart Hi I just started creating my first bot for my server. I have the code now, and it's supposed to respond when a user use...
Delete button 5 messages
mortal pendant Hello, ```js interaction.reply({ embeds: [claim] }); const rows = interaction.message.co...
Sends message to specific channel every n minutes 7 messages
vapid zenith How would i make a bot that sends a message to a specific channel every n minutes? Please add a code snippet, thanks in ...
Bot is giving me an Intent error 7 messages
solid olive `const Discord = require('discord.js'); const client = new Discord.Client({ intents: [Discord.Intents.GUILDS, Discord.In...
shadow reply an interaction 8 messages
weak narwhal How can I tell discord that the interaction was responded to without actually using the response functions? I have a co...
Slash commands localization 3 messages
vital scarab How does localization work in slash commands? I specified everything correctly, chose the language on the server for whi...
How can I make the bot send a "voice recording" using discord.js? 9 messages
placid ridge Please provide me on how can I do this in discord api or discord js
How do I add into the 'apps' section on someone's profile? 6 messages
pearl echo Like the image attached.
Role not assigned to user sometimes 4 messages
wild hare I'm not sure what causes it, has anyone got issue where you remove user role and assign new one, new one is not assigned...
cannot send private message 12 messages
fleet marsh error code ```/root/discord/node_modules/@discordjs/rest/dist/index.js:640 throw new DiscordAPIError(data, "code" ...
Create "Invite as Guest" invite link 14 messages
pale stirrup You can now invite people "as guest" to voice channels in community servers. These invite links will give you access to ...
Disabling Components 16 messages
jovial moon ```js const buttonRow = new ActionRowBuilder() .addComponents( new ButtonBuilder() .setLabel('NextFact') ...
Bot acts without user input 3 messages
pallid helm https://pastebin.com/ZW0QNvtL When I run the command, it asks for the input, but then continues to send `Message configu...
Server settings ban page is not responding 3 messages
burnt axle Our server was hacked. Lots of permissions were changed and channels deleted. The ban page only displays a spinner. How...
handle newline in string for build embed 10 messages
fleet marsh Hello so i decided to make an slash command for build embed message, and on of option is description of building embed, ...