djs-questions

9202 threads · Page 137 of 185

discord.js on html css website 8 messages
crude roost How? I know require is for nodejs but I heard something about that can compile it so the website can read it, but it doe...
Cannot read properties of undefined (reading 'has') 5 messages
dense storm Hi, i'am trying to do a delete ticket button only alive for mods, but i can't find the interaction user permissions.
hello 2 messages
coral blade The bot is connected, everything is fine, but when I do the command, it doesn't respond
986538542350086175
DiscordAPIError[10062]: Unknown interaction at handleErrors 18 messages
copper thorn here is my code: ```const { SlashCommandBuilder } = require('@discordjs/builders'); module.exports = { data: new S...
Error: ENOTDIR: not a directory, scandir 'C:\Users\k_der\developing\JS\bots\commands\ping.js' 32 messages
dim bane Hi, so i'm making my first bot in JS. Now i want to deploy the slash commands inside the DIR `commands`. But it gives th...
Question 48 messages
acoustic pasture Does anyone have a premium command? example, /give premium `user` `duration`
Getting a module error when running a bot 7 messages
frank crow Greetings! I've been getting this error and I'm not too sure how to solve this. If anyone could provide some input that ...
can i bind discord.js codes with html codes 14 messages
drifting haven Hi bro i actually want to know , Can i bind discord.js codes with html codes If i want to make for example email verifi...
checking server boosters without roles 5 messages
untold cloud Is there a way to check if a user is server boosting a server without having to check roles. (and is there a way to chec...
[Resolved] Cannot find module '.../node_modules/discord-api-types/v10.js' 4 messages
pliant veldt Hopefully this will be a quick fix but I can't seem to figure it out. I'm getting this error after updating my productio...
how would you code a bot that sends a random 6 character code to your dm's and if you type the code 4 messages
inland nimbus I know how make a bot but this hard to set up
Super Reactions 6 messages
chilly vapor Hey there! I just wanted to ask how long it might take to implement Super Reactions into the MessageReaction. I've alr...
986538542350086175
Trying to get the content from the parent message in a forum post 2 messages
amber abyss I feel a little silly asking this because it's probably obvious. In a forum channel, I'm trying to get the content of th...
DiscordAPIError[10062]: Unknown interaction 6 messages
copper thorn get this error: DiscordAPIError[10062]: Unknown interaction HERE IS MY CODE: ```const { MessageCollector } = requir...
Custom Button Component Color 13 messages
void mural Is there any way to make a button a custom color?
Automod api 16 messages
blissful raven Hi is there integration for the automod api already or will there be?
Manually Close Modal for Timeout 8 messages
ripe pewter I want to manually close the modal if the user doesn't respond within 5 seconds. Is there a way to hide/close modals man...
When will the select menu be returned to discord modals? 2 messages
brittle oyster When will the select menu be returned to discord modals?
998292157150535700
unable to create a channel when the bot doesn’t have admin permissions 34 messages
spiral lark Whenever the bot’s admin permissions are rmeoved it provides a `Missing Permissions` error. The bot has every other perm...
error on index.js 15 messages
nocturne delta throw this.error; ^ ExpectedConstraintError: Invalid string format at Object.run (C:\Users\7mccr\Desktop\discor...
how would you code a bot that sends a random 6 character code to your dm's and if you type the code 5 messages
inland nimbus please help
Docs 16 messages
last relic Is the new docs page thing for the v15 update if its getting to there?
Channel Topics 2 messages
snow scroll How to read and return channel topics
Event on scheduledEvent start 4 messages
robust sentinel Hello ! I would like to send a message in a channel when a scheduledEvent starts. I didn't found any event on the docs f...
Max Messages Per Fetch 4 messages
finite iron What's the maximum amount of messages the fetch method will return? https://old.discordjs.dev/#/docs/discord.js/main/cla...
How can I use custom emoji with my bot? 2 messages
small tide like Lara discord bot
DiscordAPIError[40060]: Interaction has already been acknowledged. 10 messages
sleek shuttle I have no idea how this error is occurring, can someone help me out?
Remove user from all private threads 15 messages
pliant swift As described - I have the user added to a private thread and want a way to remove the user from their private threads, w...
cannot delete guild command 3 messages
viscid anchor i think i accidentally posted commands as both guild and global, so now in one server i have two copies of commands but ...
Discord JS Version 3 messages
rare burrow What is the most stable version of discord.js?
What happened 2 messages
upper torrent I have this error TypeError [ClientMissingIntents] in node, does anyone know why it is and how to fix it?
Get channel from context menu command 2 messages
gaunt ether Is it possible to get channel, which was selected by user, when he executed avatar contextmenu command?
SelectMenuBuilder [deprec] vs StringSelectMenuBuilder 9 messages
paper sluice What's the difference between the two besides the SelectMenuBuilder being deprecated? Do I need to change anything else ...
reply to replied message 4 messages
timber night I'm trying to create a morse decoder. Right now I need to copy and paste morse code to command option. But I want to rep...
Creating ScheduledEvents 4 messages
robust sentinel Hello ! I was trying to make a command that will start a ScheduledEvent with the time given ( I did all format to get it...
No handler available for this interaction (ApplicationCommand > add) 4 messages
sleek shuttle My code was working fine a day ago, what does this actually mean?
Command Buttons 5 messages
viral egret How i do that when a button is pressed it sends another message with different information
Why it isn't working (no error) 4 messages
wraith ore ```js const { EmbedBuilder, SlashCommandBuilder } = require('discord.js'); var timeout = []; module.exports = { da...
data.choices[0][MODEL_TYPE_CONVERT]: Only dictionaries may be used in a ModelType 7 messages
oak vigil That is what I am responding with: ```js interaction.respond({ name: "a", value: "AA" }) ``` What am I doing wrong?
BUTTON INTERACTION ERROR EXCEPTION CRASHES APP 21 messages
grim tide What could be the problem that sometimes clicking a button it throws this error? requestBody: { files: undefined, jso...
Custom Status 3 messages
jovial moon Is There Any Method Like Keeping A Separate Status For Separate Server Like Mee6 Does???
Autocomplete Question 4 messages
gusty thistle I don't understand what autocomplete does and I can't seem to find any information on this that goes in-depth. What does...
Move messages (specially comment threads) from one channel to another? 7 messages
dawn pumice Hello! I was wondering if it was possible to move a message from one channel to another? Or if not, if it was possible...
Are those checks enough to avoid a "missing permission" error? 7 messages
shadow onyx I'm making a command that sets up a mute role, and it seems like I incurred in errors in a few channels. Are those check...
How to tell if I'm hitting Discord's rate limit 4 messages
pliant swift As asked - my code is hanging up on creating a role after having created a few roles already - is this normal behavior f...
Can't use node deploy-commands.ts 27 messages
haughty robin This is the code I have on my deploy-command.ts however when I use node deploy-command.ts I get the error on the image. ...
Error when adding 'commands' variable to my bot 7 messages
How do i access an embed of a message trought its message id? 2 messages
west iron .
Unable to invoke the discord modal. 19 messages
stiff rivet My full errror is: `TypeError: (intermediate value).setTitle(...).setDescription is not a function`. Layout. So I'm cre...
my button is having multiple errors the errors are [ 'value', [ExpectedConstraintError] ] 29 messages
mild meadow not sure why it is having this error ```else if (interaction.customId === 'Cancel') { if (player.has(`${...