djs-questions

13317 threads · Page 83 of 267

Check if a member has a role in a different server 4 messages
mint geyser I am currently using discord.js v12.5.3 (Yes I know its old but I dont want to update at the moment so leave me alone) ...
issue with finding a role 6 messages
tight cliff I haven't worked on this bot in a long time as well as forgot how to code a little bit and having issue with finding a r...
New - Modal Support 14 messages
somber smelt Hello so I am pretty new to discord.js overall and am trying to work out how to build a modal and was wondering if anyon...
issue with /core 12 messages
stark lynx Its my first time trying core since I want to have a lightbuild gateway helper and I think I do something wrong? This i...
@discordjs package
how to add a reply 5 messages
weak gate ```if (command === 'moye' && args.join(' ').toLowerCase() === 'moye') { message.reply('hi'); }```
error while setting slash command 13 messages
peak widget DiscordAPIError[50035]: Invalid Form Body 1[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required 3[LIST...
Client not defined in module export? 13 messages
Is having too many awaitMessageComponent/createMessageComponentCollector bad? 7 messages
mighty birch Hey, I have a Discord bot with around 50k guilds. It is a verification bot. I use awaitMessageComponent/createMessageCom...
Roles not being changed 29 messages
ashen topaz ```javascript else if(interaction.isStringSelectMenu()) // String Select Menu Interactions { try { let roles = i...
Ping bot message conten 3 messages
real rapids So i wanna know like if my bot gets ping by anyone so i wanted to add a custom message so how can I like how could I wri...
node
100 slash cmds 9 messages
toxic cedar Good evening, little question, is it true that a discord bot cannot exceed 100 slash commands? or can it do it?
node
roles not being added 78 messages
ashen topaz ```javascript else if(interaction.isStringSelectMenu()) // String Select Menu Interactions { let roles = inter...
the rpc in discordjs uses [email protected] seems to be installing forever 35 messages
raven dragon the rpc in discordjs uses [email protected] which seems to be installing forever
RPC
Why is my bot not editing its own message 8 messages
full yew Hey, I have coded my bot to have a "Refresh" button on one of its messages which allows members to get the latest infor...
node @discordjs package
What is the max time for a Collect Interaction? 7 messages
hasty forum I have a Discord bot that automatically sends the status of the translations we have for a specific app, with an Update ...
node
Is there anyway to use webhook emojis 5 messages
real rapids So i wanted to have emojis but ik the bot have to be in the server so i imagined if this is possible for using webhook f...
node
shardering 9 messages
short lion can i remove guilds from a shard and transfer it to a another shard
node
What is this feature? 4 messages
sterile kindle I'm trying to develop a bot and I'd like to know how I would make one of these. (see image) for a bit more context (on ...
Setting up Discord SKUs and Checking User Subscriptions 14 messages
cunning hazel Can someone guide me through setting up SKUs in Discord and checking a user's subscription status when they trigger a co...
Cache or Fetch 3 messages
rocky star Hey guys, So I've been using Discord.js for a while now. But I still don't understand in which cases I can use cache and...
StringSelectMenu interaction isnt working 69 messages
ashen topaz ```javascript else if(interaction.isStringSelectMenu()) // String Select Menu Interactions { const role = interaction....
Selects Menu 8 messages
vague basin Hi, quick question, is it possible to add more than one Select Menu per message?
node
MySQL 2 messages
sand berry Hi! I have some problem with mySQL (mariaDB) connections. I use slash command in my bot and separated it to different fo...
Member Permissions for subcommand groups? 4 messages
hard olive Are we able to add member permissions to subcommand groups? I have a `SlashCommandBuilder` command group for channel rel...
Error [ShardingInProcess]: Shards are still being spawned. 4 messages
vital scarab how can I fix this error? (when loading 0 shard) ``` Error [ShardingInProcess]: Shards are still being spawned. at S...
makeCache and sweepers Client Options 18 messages
torpid holly I have some questions related to this, one of them is the `GuildMessages` automatically caches all messages? and how doe...
what can I put after an interaction.update to da reply 2 messages
warm scaffold I tried with interaction.followUp it gave this error
How to properly check if the channel fetch is one where threads can be created? 4 messages
dawn thistle Hi, I have the following code : ```TS const supportChannelID = "an-id"; const channel = await guild.channels.fetch(supp...
How to make / command not act like a ! command 7 messages
pine ridge ``` prefix: { type: DataTypes.TEXT, defaultValue: "/" },``` When I type /, it doesn't show up wit...
Error Loading the src/commands/slashCommands/Other Command files. 32 messages
fossil nimbus So in the register commands file it doesnt register the src/command/slashCommands/Other If it's okay for you, it would b...
How to set offline status to bot 15 messages
small tide How to set offline status to bot instead of showing online or some random status.
can you test discord.js with jest? 2 messages
wicked jacinth /title
snowflake and string comparison 6 messages
verbal oriole Hi everybody, I need to compare channel.id which is a snowflake type with a string id that is saved in my database. The ...
node
rawError: { message: 'Missing Permissions', code: 50013 }, 19 messages
sinful kelp I'm not quite sure what it means? This error stems from me sending an embed, with content in the message along with th...
Importing multiple from discord.js having issues 8 messages
cold wagon Hello I have the line `const { Discord, EmbedBuilder } = require('discord.js');` This causes issues with `const client =...
Add a member to a role 7 messages
candid spade Hi everyone! I am new to Discord.js. We have a system like this: Users become a member of the learning management system...
Slash command (it's me again) 5 messages
hidden torrent constraint: 's.string.regex', given: 'channelID', expected: 'expected /^[\\p{Ll}\\p{Lm}\\p{Lo}\\p{N}\\p{sc=Devanagari}\\...
is it possible to create a forum post using a webhook ? 7 messages
quiet fog Hi can anyone help me figure out how to use a webhook to create a new post in a forum channel please
node
how do i fix 12 messages
severe prism Exception has occurred: TypeError: Cannot read properties of undefined (reading 'name') at Object.<anonymous> (C:\User...
node
Slash Commands 35 messages
hidden torrent Hey i'm a new dev with discord.js, i know basics but i can't find what goes wrong with my code for slash commands
node
AIDEZ-MOI /HELP ME 3 messages
node
File Attachment 2 messages
snow zealot How do I attach my `attachment` in the embed after `rank.build()`, given that this embed is needed for my `my-karma.js` ...
Why isn't the autocomplete working the autocomplete function isn't even getting called. 30 messages
violet sonnet Why isn't the autocomplete working the autocomplete function isn't even getting called. Code: ```js const { ApplicationC...
I'm having a problem when I add.setMinValues(2).setMaxValues(3)it starts giving this error 17 messages
warm scaffold I'm having a problem when I add .setMinValues(2) .setMaxValues(3) it starts giving this error
Fetch emoji I don't have access to 21 messages
eternal topaz (@ to reply) I was wondering if it's possible to fetch any emoji's name by it's ID. I'd like it to work even if the bot ...
Invite Permission Issue 8 messages
woven aspen (@ to reply) (repost from <#824411059443204127> but escalating) I am having an issue creating an invite using discord.js...
Getting a error and cannot figure out why 3 messages
fading bridge Im making a bot for Rust+ and im making a thing to edit smart devices names for in game and i keep getting a error when ...
node
Crash-"static {" 15 messages
odd igloo yeah.. idk
node
Why Does my Bot not react to Prefixes? 17 messages
potent moss My bot is a Smash or Pass system with pre-definable "models." I don't understand why it's not responding to my prefixes;...
Collector buttons work but just once 17 messages
unborn walrus Hello! I'm working on a leaderboard system that lets you swap through pages by clicking buttons as a menu of sorts. It s...
node