Message cannot be edited
My code:
```ts
// The channel is fetched with ctx.guild.channels.fetch(parsedLink.channelId)
let message: Message | null = null;
try {...
When my bot receives DMs:
Initially, when the bot is invited to a guild, it can receive DM messages without any issues. However, after the bot is rebooted, it cannot receive DMs anymore.
Has anyone experienced a similar situation and found a solution? Any help would be greatly appreciated!...
Discord.js voice resampling issues.
Not sure if this goes in djs-questions or other-js-ts
Hello! Currently I'm trying to get voice recognition on my discord bot through voice chat using Vosk, and I'm getting there however, I do not know how to resample the voice stream I am provided via
connection.receiver.subscribe
.
This isn't exactly to do with discord.js but any help would still be appreciated 🙂
...can anyone help me by giving tips on making money as a teenRn Iam a 14 year old trying to make cash
iam very experienced in tech and would glady accept any tips given or offers and wouldnt mind if there were anyone to know a server that can help
`ModalBuilder` validation error
When creating a modal like this:
```ts
export default class InputSocialMediaAccountName extends CustomModal {
public override async build() {...
Speak in Stage Channel
i am using latest djs version,
```js
if (newState.id === client.user.id && newState.channel?.type === 13) {
if (!oldState.channelId) {
try {...
Getting a user’s Discord AvatarURL
Hey! I’m trying to make a slash-command which will reply with the user’s AvatarURL
Slash Problems
Hello, I am coding a bot in discord.js, but I encounter a problem like this, the slash commands that I have previously used in the bot appear in discord, how can I remove them?

Button interaction how to get the guild cache from former command
```js
const { EmbedBuilder, ButtonBuilder, ButtonStyle, ActionRowBuilder } = require('discord.js')
module.exports = {
data: {
name: 'rbcy'...
Bots sharing screens
Is it possible to have a bot join a channel and share their screen and for example play a video, display a graphic?
unknown interaction error
hey, i get the below error. I have tried to add an acknowledgement to the interaction, as we get the response from the API, so could take a while, but it still errors.
It's intermittent.
```js...
Automatic ranking system
I need a system that shows a rank in a certain Discord channel. This system would pull a column from MySQL and show who the top 10 are.
Example:
MBG69: 10 kills
Michael: 8 kills
Henry: 3 kills...
Experiencing inability to text after using a slash command?
I have slash commands for my bot using DiscordJS. Didn't have this issue until recently where after using a slash command on discord mobile, it just completely bars my ability to text in the server until I restart the app.
Want to know if anyone else is experiencing this....
How do I convert an Attachment into a RawFile
For a modmail, I want to send the user's attachments into a channel and I'm not sure how to
Cannot Receive Direct Messages
messageCreate
doesn't seem to fire when I DM the bot
```ts
const DiscordClient = new Client({ intents: ["DirectMessages", "Guilds"] })
...Embedded App SDK
Hello!
Does anyone know about Discord's "Embedded App SDK"?
I would like to capture data every time someone starts a bot activity....
How do i fetch a forwarded message content?
I'm making a discord bot for a single server and it has a starboard like system and the problem is when someone reacts
x
times to a forwarded message the forwarded content isnt showed as a message data like content or attachments, how i can fetch these?