Looking for information about "managed" emojis.
Hello.
I am developing a bot for my server, and this bot needs certain emojis to be always available, in case the server loses boost status. Since discord doesn't provide a way to re-order you emojis, if you want to achieve that you have to delete all server emojis and reupload them in correct order (bot emojis being uploaded first).
Either way, while doing a research on this topic I stumbled upon the concept of "managed" emojis, but the documentation about it seems very limited, I can't find much info online about it either. This is what ChatGPT told me about them:...
Confused with the versioning system still
Hi,
I am coming back to Discord.JS, and a lot has changed. Online the docs mention it's defaulting to the "new version", and they have a link to the "old version" which is 13/14. But the documentation for the new version provides a guide from migrating to version 14 and says it's discord.js, yet in #faq it says that it's the new typescript version, which is discord.js/core. The code online does not look like typescript though so I'm just confused...
Disabling threads sweeper
Trying to disable the threads sweeper but having trouble telling whether it was done correctly.
Client constructor:
...
const client = new Client({ intents, sweepers: { threads: { interval: 0 }, }, })
const client = new Client({ intents, sweepers: { threads: { interval: 0 }, }, })
How do I send a message in a seperate channel from a slash command?
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 greatly appreciated. Below is a snippet of my imports and some code which is trying to send the message, however failing because client is undefined.
Imports:
```js
const { EmbedBuilder, SlashCommandBuilder, ButtonStyle, ButtonBuilder } = require('discord.js');
const path = require('path');...
Problem with buttons
when i first click prefix button it works, but when i click slash button it says failed interaction on discord and no error on console.
module not found error
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 and run it but it's not working pls help

Add ephemeral reply to this SelectMenu
How can I add an ephemeral reply to this select menu?
Here is my code...

how can i tag a command slash type by its id
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
I have a utility function to fetch threads from a forum channel
```ts
export async function fetch_all_threads_archive_count(forum: Discord.ForumChannel, count: number) {
const threads = new Discord.Collection([
...await fetch_active_threads(forum),...
Slash Command Permissions
In my Slash Command JSON, I put
default_member_permissions
What value do I put to only allow server administrator perms to use it by default?...
Sharding is required
I have setup sharding but i still get sharding is required and bot wont start.
```js
// Define Packages
const { Client, GatewayIntentBits } = require('discord.js');
const config = require('./config.json');...
sessionId
Hi, I want to ask about "sessionId" on the voice channel, I'm confused about what you mean and how to use that 

Adding a slash command to do the same thing a button already does
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 made. When you click this button it comes up with a message asking if you are sure you want to close the ticket and that message has a "Cancel" button which deletes the message and a "Yes" button that deletes the channel. I have registered a command called /close and I want it to bring up the same message asking if you are sure you want to close the ticket. Can I do this?
The code for the "closeTicket" button:
} else if(interaction.customId == "closeTicket") {...
About Me
Hi, I don't see any function about "about me", I would like to edit bot's about me from discord.js.
`MissingPropertyError` when making a select menu
I'm having a problem with making a
StringSelectMenu
; discord.js seems to insist that the menu I'm making is missing the label
and value
properties required of select menu options, but based on the builder, both of these should be there.
My Code:
```ts
// DenyReasonMenuSelect.ts...I fucked up. literally
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 for but i realised i can just transport my entire code into slash commands. so it would be way better right? like people dont have to know what is prefix, or what to write. anyways, i wrote the code in like 2 days. i refreshed the bot token. it says unauthorized. what did i do wrong you may ask. the bot doesnt have permission to create slash commands. i dont know what to do ri...
