djs-questions

13317 threads · Page 175 of 267

What is the Problem here? 2 messages
@discordjs package RPC dev release
How send multiply embeds in one message? 31 messages
error undefined slash cmd 12 messages
wooden spade i've this error, how to repair this ?. all is good but not this
Invalid token 24 messages
echo musk So just like under one hour ago i got an issue who said that my token saw invalid (see error message). I didn't changed ...
DiscordAPIError: Interaction has already been acknowledged. 15 messages
gleaming schooner ```client.on('interactionCreate', async (interaction) => { const split = interaction.customId.split("_") const...
How do I use interaction.options.getSubcommand() 4 messages
simple pewter I can't call it on a command interaction from typescript because the getSubcommand is ommitted for some reason?
What is the purpose of PresenceData.afk 4 messages
quartz willow What does it actually do? I've seen it for ages and Idle has a status value of its own so I'm not sure what exactly AFK ...
ChannelSelectMenu 26 messages
grand rover When I use the code in the first Image i do not get a console.log with the interaction, when i use the the SelectMenuBui...
my command wont work 26 messages
final peak My command wont work idk why there is no error its wont reply to prefix
Better ways to register commands? 37 messages
simple pewter Hi, is there a better way to register commands than the json shown the the documentation welcome page? I'm not really ev...
TypeError: Cannot read properties of null (reading 'channel') 6 messages
Why doesn't the LinkButtonComponentData field have a customId field? 7 messages
opaque oak What was the point of dividing a type into two subtypes?
Problem Unknow Interaction 3 messages
winter crystal Someone help me ?
Should I use stable or main for a new bot now? 3 messages
simple pewter Title is the question
My bot ain’t answering after one command 21 messages
idle robin I don’t know which file is the error located at..
Bot doesnt recognize message 9 messages
drowsy crescent Hey, if a user types in !balance in the chat, the bot should respond with there current balance, but it doesnt. Theres n...
Can I still built a bot with prefix, if is intended to be private? 2 messages
ebon eagle Yes, I am tired of slash and not being able to have, what I picture in my bot. But, been recalling the recommendation in...
Getting problems in "Help" Command 5 messages
There's someone know how can I make my boy restrict a command per roles? 3 messages
dusty sapphire v14.7.1
Undefined / Unknown guildDelete event on start 13 messages
warm aurora Since I enabled sharding for my bot, I get a guildDelete event every time I start it (not sure if it's really related to...
The button collector is not working, I'm doing something wrong 3 messages
snow zealot Code: ```js if (usdPricePerByteFormatted === 0) { const confirmEmbedZero = new EmbedBuilder() . . . const yesZero = new...
Command /ban : 31 messages
severe nimbus How to check if the user is on the server?
id of the first guild channel 11 messages
upbeat gale how do I get it? guild.channels.first isn't working (I recently updated from v12 to v14)
Property 'reply' does not exist on type 'Interaction<CacheType>' 4 messages
fierce rover typescript is give me this type error but when I run it it works as it should without errors ?????? do I need to downloa...
DiscordAPIError[10062] Unknown interaction 33 messages
near shell Hello, when i try to run a command with my bot i have this error requestBody: { files: [], json: { type: 4, data: [Ob...
Error 8 messages
summer mantle ```json errors: { components: { '0': { components: { _errors: [Array] } } } }, message: 'Invalid Form Body...
I am trying to make balance command with page, for coin history but embed doesn't update. 20 messages
Do shards stay consistent? 7 messages
drowsy crest Like if one server is on a certain shard and I'm using the automatic settings for totalShards, will that server always b...
Discord bot that disconnects after a few minutes/hours 10 messages
grizzled delta Hello, I have an official Apex Legends discord server admin who gave me the bot they developed for their servers. The bo...
Multiple lines in slash command arguments 3 messages
paper crescent It's been a while since I moved away from discord.js and I would like to know if it already accepts multiple lines in th...
thread.archived returning incorrect boolean 10 messages
solid mantle I'm using the threadUpdate event to check when a forum post gets automatically archived. I then compare oldThread and ne...
Command unban : user.id 25 messages
severe nimbus Hello, I have an error, can you help me?
Hide private threads to members 51 messages
regal atlas When I create a thread with the bot all members can see it how can I fix it
loadCommands 6 messages
Multiple replies on shards 5 messages
Update bot through website. 13 messages
ruby hull I am wondering how is it possible to receive an update from a website that I created and have a response on discord, lik...
Could a bot listen to spoken commands in a voice chat? 3 messages
plain flax If you can manage to program it properly, would you be able to have a bot listen for a command like "clip that" and then...
The application did not respond 30 messages
robust mortar Hello, I open a post so that you could help me with something. I made a separate Command Handler in sections (in folders...
a stuck command 19 messages
terse elk I have a bot named Mr Emoji , i've added a slash command to it previously and now it's there and it doesn't function I r...
Playing different audio in different server 44 messages
foggy portal Hello i have a discord music bot witch can play music from youtube. My problem is that my bot can't play different music...
How to get members in VC? 12 messages
faint sinew Do I need to fetch the channel all the time or does it work with client.channels.cache.get(id).members Or when the memb...
How do I cache an individual user? 15 messages
abstract jasper I wanted to cache an individual user because I want to make a notification system, and it basically goes through all the...
DiscordAPIError[50035]: Invalid Form Body//0.name[BASE_TYPE_REQUIRED]:This field is required (modal) 32 messages
copper chasm My Code: ```js const { ModalBuilder, TextInputBuilder, ActionRowBuilder, TextInputStyle } = require('discord.js'); cons...
Need a dev to make UI design in figma (2k$ negotiable) MSG ME 2 messages
drowsy shadow Need a dev to make UI design in figma (2k$ negotiable) MSG ME
small emoji embed 19 messages
Filter for Message Collector is not working 7 messages
chilly wing I'm trying to collect messages that contains at least one attachments, the problem is that the collector return every me...
Discord roles cache not updating 23 messages
gleaming niche Hello, so i am having a small problem I cant seem to figure out. I am trying to add a check for my roles to make sure ...
Change The Status 3 messages
sage summit ```JS const { Events, ActivityType } = require('discord.js'); module.exports = { name: Events.ClientReady, once...
Get owner of guild 2 messages
mild osprey ``` await client.guilds.cache.forEach(async(g) => { console.log(`Guild: ${g}`) console.log(await g.fetchOwner()) }) ...
Check if message was sent in a thread 5 messages
viscid zinc How do I check if a message was sent within a thread? `hasThread` or `thread` don't seem to work. I've added an output f...