djs-questions

9202 threads · Page 132 of 185

node src/register-commands.jsRegistering slash commands...There was an error: DiscordAPIError[0]: 16 messages
i have problem 2 messages
knotty owl error `_Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'FLAGS') at <anonymous> (file:///...
Modal-Layout 5 messages
stoic wave -- **TITLE** ---------------------- -- TEXT [BUTTON] ------------ -- TEXT [BUTTON] ------------ -- TEXT [BUTTON] -------...
How do I make my bot have an invite to server button 3 messages
coral blade example ^ .
Token removed because bot connected more than 1000? 8 messages
sacred dock I got the following msg and i'm trying to figure out how to prevent it, what could it be causing it: It appears your bot...
Output of perms of a Role 3 messages
neon tinsel You can with: `const permissions = role.permissions .toArray() .map((P) => ${P}) .jo...
Class Events 5 messages
iron sierra Class `Events` have bugs with interaction create event with multiple commands on buttons. When Bug-fix?
I Have Installed Ubuntu But Bot Isnt Running Here Is The Erro 6 messages
jovial moon ```/home/usr/Discord/node_modules/discord.js/src/client/BaseClient.js:29 userAgentAppendix: options.rest?.userAg...
setActivity not working 46 messages
ashen topaz need help
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
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...
998292157150535700
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...
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 25 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...
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...
1150878890307358882
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
Help 1 messages
shrewd zodiac I need someone to code a discord.js bot for me.
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 ^
create channel doesn't return channel object 1 messages
fleet marsh hello i want to create an text channel and store it in variable but after debug variable this value is null what i do in...
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...
998292157150535700
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...
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...
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 ?