djs-questions

9202 threads · Page 143 of 185

? errno: -4058,? code: 'ENOENT',? syscall: 'stat', 1 messages
bold sigil i get the error ```? node:internal/process/promises:265 ? triggerUncaughtException(err, true /* fromPromise */); ? ...
Change thread name without automated message? 3 messages
gentle timber How do we change a thread name without it sending a goofy "$BOT has changed the thread name" message. This is problemati...
Can I make a context menu command inside async function of another slash command? 2 messages
slender thistle I want to make a slash command which will make a context menu when It filled. Is this possible? If i put another context...
Slash Mention 10 messages
unborn inlet How can I get id of slash command to mention it?
Bot not replying after deferring replies 2 messages
surreal fossil hi! i host my bot on daki.cc, and since some days ago, it has started to not reply to commands which use deferReply(). ...
Component Collector or Something else? 7 messages
molten fox Hey, so my bot utilizing buttons. I am currently using createMessageComponentCollector to collect when the buttons are p...
Embed Message string padding 8 messages
ripe coral Hello, was looking to get some advice on with string padding my embed message. On console I'm able to pad the string ju...
How can I get a user's role color from a message I got from channel.messages.fetch() 3 messages
sudden bronze .member is undefined for non admins.
Command localizations 1 messages
quasi latch When I log a slash command in a certain guild, it says there are no description localizations, but I have enabled those....
Is it possible to replace attachment image within rich embed? 20 messages
chrome whale Hello! I am looking to use generated image files to support a Discord-based minigame. The attached screenshot shows the ...
looking for Multi Guilded Role Sync 13 messages
thin aurora I am looking for a role sync for multiple servers. Meaning, if someone has a certain role in one server, the bot auto gi...
cooldown 61 messages
night needle I get that message on the cooldown command, im not sure why it is undefined, here is my code: ```js const { Collect...
PermissionOverwrites error 12 messages
bold sigil ? TypeError: permissionOverwrites.map is not a function
Is it not possible to use a boolean with a user option? 4 messages
safe birch I have this command: https://gist.github.com/DudeThatsErin/b0231f2a38cb85309a33de14faac0107 I am receiving an error on t...
Discord-player error 2 messages
simple mulch Hello i have this error when i start a music from a research. Error: Could not extract stream for this track at Gui...
It is not being possible to send array? 6 messages
wide ivy In the past, I sent an array with a d20 scroll in a certain way, I tried the same way I always did, and it was giving an...
slashcommand input issue 3 messages
hallow briar Why isn't this working? ```js const { SlashCommandBuilder } = require('@discordjs/builders'); module.exports = { d...
CORS error 8 messages
slender tangle I created a bot in JS, I sent it to my friend and now he cannot use any of the commands because this error gets thrown, ...
Avatar error 13 messages
spare urchin TypeError: user.displayAvatarURL is not a function at Object.execute (C:\Users\csc21\OneDrive\Desktop\soapjs\src\com...
The bot gives and removes the role 8 messages
simple sierra How to fix the fact that the bot first gives out a role and then removes it after a second? Everything in the code shoul...
Dm user Error 4 messages
uneven wasp **Been getting this error and can not seem to see why it won't work** ```DiscordAPIError[50007]: Cannot send messages ...
Webhook token 11 messages
shrewd hinge how can i get a token from a webhook that the bot created?
I Need to send a Button in a webhook message 6 messages
shrewd hinge but no work...
find a customid 29 messages
spare urchin How do i find a customid that was used
ValidationError 28 messages
vocal coyote Hello guys hope you are fine , please i am facing this error
986538542350086175
SocketError: other side closed 3 messages
slow ferry SocketError: other side closed 04.04 16:03:50 [Bot] at TLSSocket.onSocketEnd (/bot/node_modules/undici/lib/client.js:990...
1[APPLICATION_COMMANDS_DUPLICATE_NAME]: Application command names must be unique 4 messages
rain dock I am trying to add quote function to my discord bot. But when i run it, I get this error quote.js: ```const { EmbedBuild...
Issue with Message Collector not hitting max or time 19 messages
tender kindle Does anyone know why my message collector wouldn't hit any of these 'options'?
How to properly collect a discord button message and alter the embed 8 messages
tepid wadi Basically, my goal is to create a menu. I want to be able to go through a set of embeds (which are edited onto the same ...
How are others scaling up with Discord.js? 3 messages
near peak Is anyone out there using Discord.js successfully for a bot with 35+ shards? If so, did you have to change any settings ...
What happens when a bot reaches sharding threshold? 9 messages
snow anchor Wondering about the mechanics. Will the bot reject new joins? Will errors be thrown? If it’s already sharding capable...
Call 16 messages
lyric shard How do i make the bot call me?
Dropdown menu reverts to placeholder name everytime an option is selected 11 messages
fickle knoll **Expected result**: when an option, `Game` for example, is chosen, the dropdown name should also be changed to `Game` *...
Get what subcommand was used? 35 messages
jagged flame Is it possible to to get what sub command was used? When i console.log `interaction.command.name` i only get the comman...
Get this error on the console 57 messages
bitter parcel The bot do not answer to any slash command sended (is offline) and this error is repetitive. NODEJS: v16.20.0 DISCORDJS:...
Updating permissions in already deployed bot 9 messages
sacred dock I have a bot that I started with fewer permissions needed, now I want to add more commands that will require more permis...
Slash command duplicate 4 messages
ornate mirage I noticed that in my private server my slash commands appear twice, and both seems to be functional. It doesnt cause any...
DiscordAPIError[50001]: Missing Access. In private threads 1 messages
willow stirrup I am trying to create a MessageComponentCollector for an interaction Command. It works fine in private channels but in t...
external emoji in string choice 1 messages
scarlet sinew when i pass string of external emoji into string choices of slash command it doesn't work
GuildJoinEvent 8 messages
night needle I have my bot creating some database schemes when the bot is added to a server and then when it leaves, it will all dele...
Is it possible to set user activity using OAuth? 4 messages
late shale I was hoping to set the status of users logged into my web app, idk if this is something the discord API supports or not...
1003448629866020986
attachment option 19 messages
spare urchin I have this bit of code, iconURL: interaction.options.getAttachment("authoricon") but when i put an attachment into th...
Get Guild Emoji IDs 17 messages
unreal willow How do you get the ID of a custom guild emoji? I tried this but it didn't work (GuildEmoji is imported) ```js if (key =...
Deleting commands followed but still appear on Discord 60 messages
thorny skiff Up until yesterday was using 14.8.0, now 14.9.0, I have a problem where the bot has slash commands appear that are no lo...
DiscordAPIError[50001]: Missing Access 8 messages
tepid pawn Hello All, currently running into this issue when running my bot in one of my servers. I've tested this bot in my own pe...
Command interaction works on desktop but not mobile 5 messages
lyric kiln This is a weird one I think... one of my users has reported that a command works for him on desktop but not on mobile. H...
Client Shard 4 messages
shut turtle Does anyone know of informing if the Shards are working with typescript? ```ts import { ShardingManager } from "discord....
I need help with this error 3 messages
unborn skiff Error: Failed to parse JSON: Unexpected token in JSON at position 0 at C:\Users\dukes\Downloads\Roblox-To-Discord-m...
Problem with WS and Voice 60 messages
barren kraken Hey guys! I have a problem with the audio playback in my bot now, some time ago I was using my own ws package, and every...
998292157150535700
Const messages 30 messages
hallow briar ```js const { Client, message } = require('discord.js'); const wait = require('node:timers/promises').setTimeout; const ...