djs-questions

13317 threads · Page 75 of 267

message.mentions.users being incomplete 9 messages
oak vigil When using message.mentions.users user who are not in the guild/cached by the bot, aren't in the collection. I pinged th...
restart command 19 messages
vague tendon I know there is a client.destroy how can I make a restart command with it and do i need to do new Client again?<:mmLol:2...
node
node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */) 3 messages
rugged moss ```js node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ...
node
How can I do that in my bot ? 3 messages
Can I detect Clips being made? 3 messages
young rose Is there a way to detect if somebody made a clip? Preferably without joining the voice channel, but I take what I can ge...
node
Commands no longer work. 68 messages
word filtering 7 messages
fresh ivy Trying to get this word filter to work. Its logging "Checking message" and its running the for loop, but its not runnin...
node
djs v13 sharding 8 messages
finite venture My bot has reached the 2.5k server limit needed before sharding so id just like some help in figuring out how to enable ...
node
How can I listen to Windows 10 notifications in JavaScript? 4 messages
frosty mortar I hope know if I can listen a new windows 10 notification and after it do someting with my bot in javascript Thanks
RoleSelectMenuInteraction Component Collector not working 6 messages
lapis spoke ```ts const firstActionRowButton = new ActionRowBuilder<RoleSelectMenuBuilder>().addComponents(roleSelect); const re...
UND_ERR_CONNECT_TIMEOUT 3 messages
harsh kestrel My bot was fine before, but starting today I made 1 small update and recieved this: ``` /home/container/node_modules/un...
modalInteraction.field.getTextInputValue('Name'); 10 messages
Add functions to buttons 5 messages
untold relic How do I add functions to a button that shows up with slash command?
I don´t know how to Do it 15 messages
high glade I have absolutly no idea how to Get the Bot to Use The Source Code
Slash Command icon 3 messages
wicked flare last month while im studying the bot how to code and how it works add and delete commands even i invite again the bot wi...
its not adding in the database 3 messages
how to fix 4 messages
node
Ticket bot not granting permission for user 17 messages
Buttons Expiring 68 messages
rancid sable My buttons expire. I use interaction event to make them permanent but it does not work.
Commands not executing 18 messages
surreal veldt My commands not executing and i don't have any errors in console Main file: https://srcb.in/r5rmGowH9E Command handler:...
node
Issue with types 10 messages
austere quartz So I created a function for myself to manipulate the content of my responses, but i'm having issues with that: ```ts ty...
Slash Command Registration & Loading Library 24 messages
solid thicket https://github.com/Vanillaanarchy-net/utility-discord-bot/ The commands are registering but they are returning interact...
Managing, Testing and Deployment of Discord Bot 4 messages
frosty gazelle I am relatively new to Discord.js and currently building a bot that incorporates ChatGPT. My goal is to host it on a pla...
bot errors after reboot command 4 messages
wet barn Hello, this is the reboot command, ```js const { SlashCommandBuilder } = require('discord.js'); module.exports = { ...
node
Bot Crashes After Adding Role To Member 15 messages
vocal plover I made sure my discordjs was up to date but still getting this issue
node
"MessageEmbed is not a constructor" error. 4 messages
green path Error executing command giveaway: TypeError: MessageEmbed is not a constructor
Random "DiscordAPIError[10062]: Unknown Interaction" 16 messages
fickle granite i try reproduce the error, but it is so random, I just run the '/user' command several times then it will eventually hit...
node
message collector not working? 22 messages
meager dagger Hello my bot has a message collector and it has been working for the longest time untill I swapped to djs14 I didn’t tou...
node
Any better ways to get ALL guild members that have a specific server role? 8 messages
pastel garden Small question for those that know, is there any better way to get all guild members that have a specific guild role tha...
Add an image buffer as an attachment to an embed 11 messages
runic quail discordjs 14.6.0, nodejs 18.15.0 I'm trying to use a buffer to attach an image to an embed, and I have no clue how I'm ...
Cache/sweeper settings for memory constraints, mostly messages 10 messages
pale nymph We are in a very memory constrained environment. Our individual bot processes can't exceed 512 MB. Right now each proces...
node
changing stuff around when a button is clicked 52 messages
wet barn how would i make it so when a button is clicked on an embed, it does the following things; change the embed into somethi...
node
Discord.js version 3 messages
fossil nimbus I was just wondering if there will be a Discord.js v15?
node
Disable buttons if none were clicked when timer runs out 6 messages
civic citrus This is a follow up question to one of my previous posts where I wanted to dynamically disable buttons based on their cu...
SyntaxError: Unexpected identifier 'Ready' 35 messages
little kestrel this is literally my first time coding and i keep getting the same error. what do i do? im literally trying to code a di...
node
an error on delete command 5 messages
candid latch how i fix this error?
Please help, can't figure out what my problem is. 6 messages
slender root I recieve this error message twice: ```DiscordAPIError[10062]: Unknown interaction at handleErrors (/home/minecraft/...
DJS RPC Alternatives 8 messages
chilly geyser I’ve read the many posts about the library no longer being maintained. I want to know what others I can use, that are u...
RPC node
Message reaction event 7 messages
plain wren Hey, I'm trying to listen for reactions on a message Id but there's no output when I react to the message, could someone...
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed 3 messages
patent gorge how can solve this? when i use this intents: IntentsBitField.Flags.Guilds, I...
How can i fetch user presence 2 messages
hardy zinc How can i fetch user presence like a user using spotify he will get spotify role and a user using vsc he will get vsc ro...
RPC
Trouble with collecting message component interactions 3 messages
glacial fern After upgrading from an earlier discord.js version to the newest, slash commands that replied with a message with messag...
Not seeing routes on docs 7 messages
wise thunder Hi, The docs and guide use this piece of code for registering slash commands: ```await rest.put(Routes.applicationComma...
Bot can not login after build 4 messages
Edit embed in DM 5 messages
analog hazel Hi, I've already written on the djs-help-v14 channel and received a hint on how I can edit the embed using interaction.u...
Error at beginning 12 messages
twilit oak Could I know the reason why it won’t work? Because I didn’t start my bot for 3 months ago and I started it today so ple...
Question with creating a sticker 2 messages
hushed fossil Why when creating a sticker using a image url as the attachment property it works. But this errors? My code is ```js con...
i keep getting a invalid token even though its valid 3 messages
void hornet Error: Cannot find module '/Users/codyword/Downloads/anarchy-main/help' at Module._resolveFilename (node:internal/mo...
@discordjs package
Keep getting error with intents. 4 messages
obsidian torrent So I just started using v14.4.1 i put the new intent code as showed here `const client = new Client({ intents: [ ...
welcome not working 39 messages
solemn bay So I have this welcome script and its just not working I use @napi-rs/canvas Here is the code https://pastebin.com/...