djs-questions

13317 threads · Page 110 of 267

Problem updating to v14.12.0 9 messages
noble gyro Today in the release of v14.12.0 I updated my bot's package which is written in typescript, now it doesn't compile anymo...
@discordjs package
guildAvailable 4 messages
dev release
Can I edit an embed in a different channel when clicking a button? 8 messages
lost lotus Title^
Hesitation between two microservice architectures 4 messages
zenith crater Hello, I'm wondering if there is a limit to the number of connections that can be made to the Gateway. Let's say I want ...
Slash command not executing 4 messages
chilly vigil My command doesn't seem to want to execute
Looking for information about "managed" emojis. 7 messages
storm knoll Hello. I am developing a bot for my server, and this bot needs certain emojis to be always available, in case the serve...
TextInput in Modal, can't leave input field empty even though it says must be between 0-4000 in len 4 messages
Confused with the versioning system still 5 messages
woven quarry Hi, I am coming back to Discord.JS, and a lot has changed. Online the docs mention it's defaulting to the "new version",...
@discordjs package
Disabling threads sweeper 4 messages
livid cape Trying to disable the threads sweeper but having trouble telling whether it was done correctly. Client constructor: ```...
How do I send a message in a seperate channel from a slash command? 2 messages
surreal girder I've been trying to do this but can't seem to figure out how to get the client into the slash command. Any help would be...
Problem with buttons 9 messages
lucid bolt when i first click prefix button it works, but when i click slash button it says failed interaction on discord and no er...
module not found error 3 messages
mortal nymph I am trying to run my bot but it's saying module not found discord.js and i also tried to delete the node module file an...
@discordjs package
how do I edit my followup? 23 messages
lost lotus I get "The reply to this interaction has not been sent or deferred."
Add ephemeral reply to this SelectMenu 7 messages
lost lotus How can I add an ephemeral reply to this select menu? Here is my code
i'm using slash commands and it do not work for me on a my server, but on another server it work wit 75 messages
pliant forum -
how can i tag a command slash type by its id 7 messages
nimble wolf how can i tag a command slash type by its id 1134862847977996349 it would be a command from my bot
Somehow getting forum posts from a completely unrelelated forum channel 6 messages
digital nova I have a utility function to fetch threads from a forum channel ```ts export async function fetch_all_threads_archive_co...
Slash Command Permissions 2 messages
deep nimbus In my Slash Command JSON, I put default_member_permissions What value do I put to only allow server administrator perms...
creating guild events - is there a better way than this? 42 messages
Sharding is required 10 messages
jagged adder I have setup sharding but i still get sharding is required and bot wont start. ```js // Define Packages const { Client, ...
Adding a slash command to do the same thing a button already does 6 messages
burnt niche I am working on a ticket system. I have a button called "Close ticket" on a message and it is sent when a new ticket is ...
About Me 6 messages
stoic terrace Hi, I don't see any function about "about me", I would like to edit bot's about me from discord.js.
my buttons do not work 68 messages
wooden ivy her are some screenshots
what is the event for logging people joining and leaving voice calls? 3 messages
supple bramble help
`MissingPropertyError` when making a select menu 6 messages
timid sedge I'm having a problem with making a `StringSelectMenu`; discord.js seems to insist that the menu I'm making is missing th...
I fucked up. literally 14 messages
solid idol okay so i have made a bot in the past that didnt had slash commands. i literally quitted coding for 3 years. then i came...
[CLOSED] Question regarding Unicode and Custom emojis 10 messages
misty cargo Hi! Anyone knows if discord.js offers a way to check if an emoji/string is a valid discord unicode emoji and not a custo...
Unmute button not working 6 messages
dawn mica So I have a button (end stage) which converts a stage into a voice channel: - Makes the voice channel - Moves users into...
How to convert code to js14? 4 messages
Where are the docs 2 messages
mellow citrus yesterday when i entered discord.js.org i was redirected to the wiki for discordjs/@core. but now wherenever i go on the...
@discordjs package
Forum Tag Listener 3 messages
gaunt gate Is there a way to make a listener which listens to Forum tag changes? Use-case: I have a help forum. When someone edits...
how to set my bot status to "watching" 22 messages
umbral dove Constants.ActivityTypes.GAME, this makes my bot status to "playing" , i want it to be "watching how?"
TypeError: Cannot read properties of undefined (reading 'isChatInputCommand') 21 messages
gloomy palm idk what happened, it was working fine, then I added client parameter what it was: ```module.exports = { name: Event...
sending messages code problem 6 messages
crystal arrow I wrote some codes that sends a image 'sendthis.jpg' to the chat if there's no messages for 45 minutes. ```js require('...
guild icon url not working 12 messages
formal lion so basically i'm having problems with fetching the icon URL of a guild, this is my code and it's giving me this error. I...
Context Menu 18 messages
feral jolt Hey, I'm trying to register context menu commands but not sure how. I've a command handler that sending a put request to...
[TS] Argument of type 'GuildMember | APIInteractionGuildMember | null' 9 messages
rain skiff ## full error ``` [Event: ready] [Uncaught Error] src/cmds/me.ts:11:36 - error TS2345: Argument of type 'GuildMember | A...
Questions about editing ephemeral embed messages 14 messages
burnt niche I am working on editing ephemeral messages but I don't know how to. I dont understand how ```interaction.editReply``` wo...
discord.js soon deprecated by @discordjs/core ? 2 messages
lime cove hey, i wanted to ask if discord.js will be deprecated soon and /core will become the "new" discord.js, because then you ...
@discordjs package
Cannot read properties of undefined (reading 'applicationGuildCommands') 6 messages
wooden ivy i keep having the problem Cannot read properties of undefined (reading 'applicationGuildCommands')
Autocomplete + Other options involved that make the autocomplete dependent on those option values 5 messages
thorny skiff Am I able to get the waiting values of the slash command options to be used for the autocomplete? I have a channel optio...
Property 'cmds' does not exist on type 'Client<boolean>' 8 messages
rain skiff It's my first time using TypeScript with discord.js & express, I used some of my JS knowledge and it is causing an error...
Error when creating embed 5 messages
young blaze I'm getting the following error when trying to create an embed. My main goal is to let the user enter the name, select a...
i need js code for my bot status 2 messages
split pike i need discord.js code for status of my bot like Watching **My DMS** my js version is 13.6.0
Select Menu Question 9 messages
gloomy flame I want to create a select menu ticket with modal is there any way to update the menu and show modal too?
there is a problem with the app 8 messages
wooden ivy idk what the problem is
Discord.js Old Theme 2 messages
near hound Whats the theme used in the old discord js website? I don't know if it's custom or not but i have saw a website that has...
How would I fetch a message.. 2 messages
surreal cedar and edit it
Question regarding GuildMemberAdd and GuildMemberUpdate 4 messages
quaint loom So my bot currently detects people who donate when they obtain the Premium role in my Discord server. However, I've came...
many many errors 8 messages
karmic eagle the code: ```const { ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder, EmbedBuilder } = require('disco...