djs-questions

13317 threads · Page 135 of 267

ContextMenuCommandBuilder didn't excute interaction function 14 messages
placid wigeon Here is my codes... - menu javascript file - command deploy file And results - The command has been successfully regist...
get member role cache crash 6 messages
crystal palm TypeError: Cannot read properties of undefined (reading 'id') at get cache [as cache] all I'm doing is accessing t...
Send method not available on StageChannel object 7 messages
astral stratus Hi there, we're trying to send messages in the Text Channel attached to a Stage Channel (just as VoiceChannels have a te...
Trying to get users displayName, returning unknown user 2 messages
fleet mesa Sorry if this seems obvious - still finding my feet with d.js. I want to display a leaderboard of the top 10 users withi...
disabled dms 2 messages
jovial jetty how do i make it so users cant use slash commands in dms
.addUserOption 7 messages
wise ivy Max amount of characters
Value "undefined" is not snowflake? 10 messages
torn meteor Can't find out what this error means
embeds 9 messages
wise ivy embed
sapphire shapeshift don't works 15 messages
dusty sapphire my code don't works and i don't know how I can solve it
Error: Cannot find module '../Models/User.js'Require stack: 2 messages
Update presence @discordjs/core 14 messages
winged edge Hey how can i update the presence? I have no shardID. https://discord.js.org/docs/packages/core/main/Client:Class#updat...
@discordjs package
help for making voice bot with node.js 15 messages
knotty owl anyone can give me some simple example code? I searched lots of guide, but it doesn't have easy code so i want some code...
Get list of users (usernames or user IDs preferably) in a voice channel to loop through 7 messages
spark bison Hello. I am trying to get a list of the users that are in a specific voice channel. I went ahead to add the GuildVoiceSt...
Realtime Member Count of Every Voice Channel 13 messages
stoic wave Hi, how can i get the Member Count of every Voice Channel on my Server? I'm currently using: ```ts const voiceChannels =...
Fetching Messages 6 messages
last lantern Hey , i searched about it and idk if its possible , but can we actually fetch old messages that our bot has already sen...
How long do emojis remain cached after being deleted? 2 messages
help !!!! 11 messages
quasi blaze Hey, can anyone help me to add cool-down to regenerate button and only the user who triggered the command can use the bu...
autocomplete choices not being shown 26 messages
wise ivy Having issue with autocomplete.
DiscordAPIError[10062]: Unknown interaction 3 messages
mild finch I'm trying to update an Button interaction after 3 seconds with `await interaction.update(msgToSend);` and an error is t...
how to stop discord.js from enqueuing requests when a rate limit is hit (for emoji creation) 18 messages
Will there be an option to make custom coloured buttons? 6 messages
honest spire If not don't matter but if you are planning too that would be really cool ```js new ButtonBuilder() .setCustomId('custo...
GatewayIntentBits seen as index.js property 81 messages
sonic verge Hi, I updated my discord.js to version @14.11 and wanted to update my intents, but somehow, `GatewayIntentBits` is seen ...
Compatibility with deno 4 messages
olive comet Is djs currently compatible with deno? The answer has always been no, but I haven't seen any updates on this for a while...
deno
How to create a database for each user? 9 messages
shrewd zodiac I'm coding my discord.js bot. I have an index.js file and I want to know how can I create a database for each member ( l...
Discord auto use command 5 messages
woven owl Hey, I want to create a embed with all my users cases. I want to create so it's possible for a user to click on a case n...
Fetch more than 100 messages from channel 20 messages
fleet marsh Hello, it is possible to fetch than more 100 messages from channel?
ticket bot 3 messages
trim perch How can i make a ticket bot, like rimpllee? I am noobie so pls help me gettin started
Error while trying to create an event 2 messages
primal plank ```javascript interaction.guild.scheduledEvents.create({ name: "Compleanno", scheduled_start_time: dateObjec...
Problem with GuildMemberUpdate 10 messages
vital scarab For some reason, it happens that I add the highest (or no) role and it shows that all the roles that the participant alr...
how to reset selection on menu after passed interaction 4 messages
fleet marsh hello i dont have any idea how to reset menu after selection specific value, after execute interaction event i want to c...
Slash commands not showing 11 messages
hushed sky Title says it all, I waited an hour, used the applications.commands scope, gave it all permissions. and im using ```Rout...
Global Commands 27 messages
wise ivy How can I make a slash command global?
AddUserOption 4 messages
wise ivy For addStringOption how can I limit the passed in characters from user?
Question about interaction 2 messages
marble inlet I have a slash command where the you can mention user. The command sends the nickname of the user who typed it and who w...
Rich Presence not being set 4 messages
Using GitHub Pro, how do I make the bot always running? 2 messages
ashen topaz ^
ERROR - Discord.JS everyone is able to see the channel 2 messages
vale vortex Code:
Links now working 2 messages
dusty plover I'm sorry, I'm sorry, I'm sorry. I am new to the world of programming and therefore do not know where to turn. Links lik...
@discordjs package
ForumChannel webhook scope 3 messages
rotund birch I want to create custom discord backup bot for ForumChannels. I can now create backups but now i want to post it back o...
userID not being read from .json file to a .js command to display information. 2 messages
EmbedBuilder troubles 25 messages
random terrace I've beeb trying to make an inventory sort of embed for a couple hours now and im completely stuck. i'm sure theres a wa...
Webhook ForumChannel doesnt work as planned 7 messages
Including Discord.js for the web? 25 messages
near hound I don’t know if there is any way to use discord js for the web, like I want to run a express website and use discord.js ...
Forum Post permission 9 messages
crisp pebble Is it possible to let only a specific person see a forum post ?
Save an attachment from command 51 messages
half spoke How would I save an attachment from an attachment option into a folder inside the bots source?
Djs doesnt reconnect 50 messages
vale oxide I got a weird error where djs tries to reconnect but fails, and then just remains offline. When I try to restart it, it ...
ActionRowBuilder errors 4 messages
barren vigil I am getting type errors that I really can't seem to wrap my head around. I am trying to call `interaction.reply()` on ...
Channel Update Event 11 messages
gusty thistle Is there any way, to find out which user moved a channel from one category to another?
storing images for output 9 messages
random terrace I'm making a bot rn and I'm using the string for message links to post images on like embeds and stuff. But I got a good...
Slash Command, setName() doesn't allow many of characters 21 messages
willow hare `discord.js ver. 14.11.0` I'm using slash command and when it went to StringOption's setName(), I found that some speci...