djs-questions

13317 threads · Page 117 of 267

Error - Following tutorial and BONKERS 4 messages
pallid portal PS C:\Users\Torren\Desktop\JS-Bot-Apeture> node deploy-commands.js C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules\@...
@discordjs package
TypeError: Cannot read properties of undefined (reading 'id') 22 messages
dawn zephyr Hey, I want to make a setlan command for my bot, when it sends the embed, it seems that the collector collects something...
an autocomplet with more than 25 help-me options 10 messages
nimble wolf does anyone know how to do it if it has more than 25 , it shows up to 24 a part of the name it shows, to avoid this erro...
AuditLog Grouped "event" ? 3 messages
rich canopy Regarding the AuditLogEntryCreate event. I just learned that if something is grouped ( like separate message deletes ) t...
dev release
Newlines in `message.content` 5 messages
raw arch Is there any way for my bot to get the message content with newlines included? I have profiles that people post that I'm...
Reaction button sent only once 2 messages
mint dagger Hello there ! I would like to create a message embed with buttons attached to it like "Reaction Bots" do. I wonder how...
slash commands 4 messages
latent owl How to check which sub options they used in the slash commands?
hi my bot v12 but ı upgrade to v14 but nor working beacuse ı cant do intents who can help me ?pls 21 messages
high ether ı dont know why not working but ı can send error and code
Application failed to respond 35 messages
icy cosmos Keep getting application failed to respond with no error on the log i think it has something to do with the command hand...
user.global_name 5 messages
torn glen HI from which version this property is available in user object "global_name, the user's display name, if it is set. For...
Issue adding and removing roles in same command 11 messages
nimble glade I have a select menu command where you select the roles you want to add/remove from a list when roles are selected it ch...
Cannot use `{data.length}` (Typescript) 7 messages
summer crest i dont know the reason why `{data.length}` get error, it announced that `'data' is of type 'unknown'.ts(18046)` Here is...
how do I handle modalsubmits in typescript? 5 messages
north juniper even if I use a collector, it wont work
discord js core issue 127 messages
worthy beacon Sometime halfway through guilds.map(async (guild) =>{..} ) cpu usage goes abnormally high ,ram usage increases by like ...
@discordjs package
Issues With Permissions 77 messages
icy pine Im going to say it now, Im terrible at coding and I have zero idea what I'm doing. Anyways I'm getting a permissions err...
Trying to pass info between modal and command 2 messages
Having choices as both strings and numbers for the same option? 53 messages
terse star I am trying to make an option for a slash command have a choices of one being a number and the other being a word/string...
Button Interaction 8 messages
crimson grove Hello, this is my code: ```const { MessageActionRow, MessageButton, ActionRowBuilder, EmbedBuilder, ...
Could anyone help with a question? :D 3 messages
ancient valve this is right isn't it? I also wanted to know if it is possible to create buttons in these embeds via webhook
V13 - <User>.global_name 6 messages
drifting sky Hi, will the `global_name` information be available on a future v13 update?
Does anyone know why the choices do not appear? 9 messages
button interaction doesnt work (d.js 14.11.0) 15 messages
faint echo Im making a bot and button interactions dont work, when you hit a button it responds with "the application did not respo...
Bot that mutes for some time 22 messages
Edit message on button click DJS14 3 messages
warm carbon Hey, I'm trying to make a slash command on my bot to fetch a list of users in my database. It'll work that way : `/info...
where is the documentations of this? 11 messages
Can we shorten the emojis? 9 messages
jovial burrow Whenever my admins register new messages inside the JSON file by a command, my bot updates the message where it displays...
Typing Oauth2Guild 6 messages
balmy flame Does anyone know if `discord-api-types` has a builtin type for an Oauth2Guild (i.e. a guild fetched via the oauth2 `api/...
How Collection() works? 8 messages
frosty mortar https://discord.js.org/docs/packages/collection/1.5.1/Collection:Class
Help width interactions 8 messages
blissful ferry Hello I have this code in slash conmmand, when I try to interact outside the if works perfectly but if y try into the i...
trying to add choices to a sub command 14 messages
adding a button to a ticket bot 3 messages
smoky drift I found a ticket bot on GitHub.. and it has a button to create a ticket all I need is to add another button like for don...
I wanted to know if the way to send an axios is correct 5 messages
jaunty current it is giving error of FAILED_UPLOAD
Error with Action (.\node_modules\discord.js\src\client\actions\ActionsManager.js:75) 2 messages
My discord bot is not reply messages 20 messages
prefix command not working 17 messages
past isle I tried to add the commands in separate files, but it did not turn out to be comfortable for me, it also did not work, s...
Pagination problem 6 messages
slender geyser Hello, I have a problem with pagination. I'm working on some stock management commands, and here I would like to display...
Modals 6 messages
meager dagger ```ts button.showModal( new Modal() .setCustomId("test") .setTitle("This is a test modal")...
Anti spam 21 messages
real reef how would you go about making an anti spam, so say as if someone was spam messaging how would I log that with my bot?
Discord Embed inline field gets out of line 3 messages
cinder chasm This happen when I expect it all to stay in-line. Code snippet: ```javascript .addFields( ...
Fetching Guild Commands returns nothing 11 messages
gusty thistle I am using the ApplicationCommandPermissionsUpdate event. I am trying to fetch the command using the `guild.commands.fet...
Label Character Limit 3 messages
wanton smelt I searched something on discord-api-types and I saw that there it says that Text Input's label is max. of 80 characters ...
bot can't manage roles on user 13 messages
daring cave THE ERROR: TypeError: Cannot read properties of undefined (reading 'id') at get cache [as cache] (C:\Users\2DF2ZDT\...
Auth2 8 messages
vale vortex Is the access token used to access people's accounts? or just to pull information like name, avatar and among others?
@discordjs package
TypeScript Logical Error Not Syntax Error 26 messages
gusty crescent So, I have a ModMail bot made in TypeScript, and I have a slash command that blocks the user from D.M.'ing the bot any f...
emoji react message 20 messages
opal wolf how to make it add reactions to the message?
Question about integration 15 messages
blissful vale On server where I spend some time there a Role Linked integration. That's get your steam account if you allow, and get s...
@discordjs package
defer 5 messages
Bot not DMing on ban 5 messages
Does anyone know if the defaultMemberPermissions can set a job id or just PermissionFlagsBits? 2 messages
nimble wolf ```lua module.exports = { name: "teste", description: "teste", defaultMemberPermissions: PermissionFlagsBits.Admin...
adding role problem 6 messages
humble wedge my code: interaction.guild.members.cache.get(match[1].toString()).roles.add(role) (with match[1] being a user ID) my er...