djs-questions

13317 threads · Page 99 of 267

Attachments 5 messages
balmy shell do attachments not work? whenever i try one, it returns the error ```js node:events:491 throw er; // Unhandled 'e...
gen bots are against tos? 7 messages
jaunty mist Just question i want know answer =()
application commands 28 messages
outer forum i have a question, how do i register new application commands when i create. coz if i want to register them i have to re...
How make the bot online? 9 messages
crystal lichen I need start code, in discord.js start code in typescript I need in js
Deferrals 19 messages
mental fossil I've had a few issues as I have started to try and learn deferring and avoiding timeout errors. Many scripts that worked...
@discordjs package
Ban command. 26 messages
uneven wasp How do I make my ban command work with Banning their Discord ID and when you mention them within the slash command. http...
Automod 4 messages
torpid holly I have an issue with my automod system, if any Proficient, mod or higher can help me, I can DM them the pastebin link wi...
How to create a new channel for a guild? 79 messages
delicate bay I have a bot that will create a text channel to write into when invited. My question is how can I do this with *discord....
What are people using for sharding? 9 messages
lunar pasture I recently moved over to the discord-hybrid-sharding library but I have mixed feelings on relying on this one library de...
@discordjs package
Change message author as bot 7 messages
thick canopy I saw a channel that converts the user messages like a bot (in counting). I tried to recreate this using Discord JS but ...
How can I make this menu appear after I click on the link? 3 messages
nimble wolf How can I make this menu appear after I click on the link?
how can I do this? and dps he answer 5 messages
nimble wolf how can I do this? and dps he answer
hosting on raspberry pi 5 messages
balmy shell running node index.js on my vscode works fine, no errors running it on my raspberry pi returns an error ``` node_module...
@discordjs package
Why doesn't my bot always properly set/update a GuildMember's roles? 50 messages
round citrus Since I'm developing an RPG bot and a lot of logic also requires guild members to have certain roles. I've had situatio...
ticket 12 messages
gray magnet Hi guys! Everything seems to work about the code but when I try the general support menu, it gives me the error that the...
Mobile Status 3 messages
hallow marlin I have tried to set the mobile status by doing the `Discord iOS` in ws/index.js but It doesn't seem to be working, is th...
Bot command doesnt work 38 messages
Auto menu 5 messages
austere socket How can I make a menu that shows all channels or roles with discord.js ?
Context menu commands not adding to the Context menu or not updating 11 messages
worthy veldt Hi, i'm trying to add / remove context menu commands to my bots, i create them similarly to the ones that works fine, bu...
Message content intent gets denied multiple times. 2 messages
whole fulcrum I have a bot that's gonna hit 100 guilds soon and we have so much things that rely on that intent and we use slash comma...
Can someone fix this? Buttons are not working for this embed 16 messages
vital heath ```js client.on('interactionCreate', async (interaction) => { if (!interaction.isChatInputCommand()) return; if...
What could be the error it is not collecting my reaction is not even printing the user.id 5 messages
/home/container/src/commands/music/Play.js:21 try } ^SyntaxError: Unexpected token '}' 8 messages
hallow marlin I'm having difficulty pinpointing which bracket is causing a syntax error in my code. I've tried various fixes, but I ca...
bot perms 11 messages
dusky tusk anyone knows why is this not working? i don't have a handler, its on the start of the code right above the commands ``...
bulk delete 2 messages
night needle I am using bulk delete and if there only 5 messages in the channel but I try to delete 100 it sends unkown message error...
Missing Access Error 7 messages
fathom cliff I get this error: pretty sure it's from this code: ``` client.channels.fetch(BANKLOGCHANNEL).then(channel => { ...
It does not read the ready.js module when it is in the events folder. 170 messages
woeful plaza I am not reading the ready.js file that is inside the events folder, which is marked to be read. I need help please
How to manage channel and role permissions for context menu commands ? 8 messages
worthy veldt Hello ! I'm sorry if that's quite a beginner question but I'm trying to set some channel and role permissions for a cont...
Button confirmation system 7 messages
drowsy crescent Hey, im trying to make a bot where when you click on a button the bot replies with another two buttons, so that you can ...
InteractionCreate.js / deploy-command.js 11 messages
dusk violet so i put them both into deploy-commands.js right, https://pastebin.com/YkXsdYic and this is what my interactionCreate....
All events running twice 19 messages
wooden dawn Running locally, the same code for two bots. One is the prod bot and one is dev. Dev bot seems to be running twice. Note...
how do you modularize your subcommands so their implementation is in different files? 26 messages
light elk can someone link me to a resource? https://discordjs.guide/slash-commands/advanced-creation.html#subcommands i understan...
embeds[0].description[BASE_TYPE_REQUIRED]: This field is required V14 14 messages
tribal cave const banEmbed = { "content": "", "tts": false, "embeds": [ ...
Slash Command Parsing 8 messages
lucid dagger Good morning, afternoon, and night to those it applies to. I'm attempting to make a slash command that can take a rather...
Make a website interact with discord 18 messages
cosmic wraith Hi, is it possible to make a website that interact with discord realtime, such as chatting, send file without widget
Module not found: Can't resolve 'worker_threads' 15 messages
frank niche ```js ./node_modules/@discordjs/ws/dist/index.js:113:0 Module not found: Can't resolve 'worker_threads' https://nextjs....
partial channels 5 messages
hollow zinc i didnt get an answer in <#824411059443204127> so ill ask here if i have the Channel partial but have the Guilds intent,...
UND_ERR_CONNECT_TIMEOUT 3 messages
dark dawn I am getting this error, my bot was working fine a week ago when I was working on it. ```node:internal/process/promises:...
Buttons working on past activities 16 messages
rain scroll Hey everyone. I'm making an interaction with an embed and buttons. The problem is, when a new interaction is called, the...
embed limits - what happens when they're reached/exceeded? 2 messages
nocturne garnet What happens when the embed limits are exceeded? Will the embed be truncated, or will it just throw an error message whe...
dev release
interaction user export 2 messages
frigid copper I made private market bot. if I want to sell something use /sell and put data then bot will send data with embed and buy...
How do i get the current voice topic from a voice channel id? 3 messages
signal mist How do i get the current voice topic from a voice channel id?
v13.6.0 djs - getting cache error 36 messages
rancid shuttle I couldn't find it when I looked in the library. what should i change here?
how do I change the topic of stage Instances in the scene channel? 2 messages
grand pier there is a channel this is a scene it has stage Instances set how to change the topic for this stage Instances the chann...
connect two commands 12 messages
dense nimbus the Hi, I've built two separate commands. one that generates image from text input, and the other one generates video fr...
@discordjs package
Discord JS music playback via ffmpeg on stage 4 messages
grand pier I understand that in ffmpeg I pass the path to the file and how do I redirect the music playback stream to the voice of ...
How do I check that the bot is connected to the stage and releases on it? 5 messages
grand pier How do I check that the bot is connected to the stage and releases on it? To avoid catching an exception when connecting...
Inline field title 5 messages
grand pier Hi, I want to make an Inline Title in my Embed object, as in the example of one of my kicks with a timeout error, what c...
Global commands push cause dev/local commands guild to have duplicates 7 messages
winged dragon Hello, I'm currently trying to setup a system where in development I run local commands, but for production I global dep...
TypeError 27 messages
hallow marlin I am currently on a discord music bot which has a 247 command and for some reason the bot just times out after few hours...