Request error unknow message 10008 but my code isn't related at all to this
i'm send the vanity-url request but i get ร 10008 unknow message errur what the heck?
Command dissapears
Hi there so I have this little issue with one of my new commands
some useless background information. My bot is hosted on my linux server that I recently have moved it to from AWS to a cloud server
everything was working perfect until I added a new command. So one day I added a new command to my command folder, I use ssh in VSCode to edit all my files, add new files etc.
...
fetchRecommendedShardCount
I want to know how this works, since
shard_id = (guild_id >> 22) % num_shards
, hinting that we can't anticipate guildsPerShard
. There's multipleOf
as well, how do these terms link together in a single expression?
I have an error that I cannot solve.
So I have a warn.js file that has an error. The file is https://sourceb.in/6Hrc2IpLUt and the error is: TypeError: Cannot read properties of null (reading 'id')
at Object.execute (D:\Happybottesttobeofficial\slashcommands\warn.js:26:89)
at Client.<anonymous> (D:\Happybottesttobeofficial\index.js:52:19)
at Client.emit (node:events:520:28)
at InteractionCreateAction.handle (D:\Happybottesttobeofficial\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)...
App didnt respond
```
async function handlePtMake(interaction) {
try {
const attachment = interaction.options.getAttachment('file');
...
Bot disconnects when it's dragged to different vc
I'm changing vc of my bot but it immediately disconnects after rejoining... how should i fix it ? I have enabled
GatewayIntentBits.GuildVoiceStates
Already
How to handle sub commands?
attached are the code for my command handler and the error. It happens when it tries to pass a new command through the handler, which has 2 sub commands. I never used sub commands before so I got no idea how to handle them. What should I change?

registering commands
I'm trying to create a script that registers commands globally but it doesn't work
Premium Button didn't work
Hi, there,
First of all, I haven't found any documentation on how the Premium button works.
Secondly, I have a problem (Expected the value to be a string or number) for the โPremiumโ button type....
Command Not Reloading
Hey, I'm having an issue where, after using the reload command the bot is still referencing the old message. although when I log the event I'm seeing the updated code with the changes I made.
I'm using typescript & CommonJS while transpilng...
Searching discord.js Documentation
I'm trying to make a slash command to get documentation on specific topics on discord.js, however I don't know how lol
```js
const { SlashCommandBuilder } = require('discord.js');
...
Discord permissions
which permission members need to use button on embed message in forum type text channel?
Error in Ticket System MongoDB database log
hi, I had an error with my code that happens when I create a ticket, it is supposed to listen, wait and log the messages to my MongoDB Cluster, but when I run the command to see the logs it's empty, I don't get any error code so I don't know what's wrong, the images are below:

Client won't start
I added client.on('debug', console.log), and this is what I get:
```[WS => Manager] Fetched Gateway Information
URL: wss://gateway.discord.gg
Recommended Shards: 12...
shardList does not work on my app
I have an app with 28 shards, but i want to manage only 10 shards per host, i already set the shardList option but when i start the app, it spawns all the shards.
File Sending
``js
const transcript = await createTranscript(interaction.channel, {
fileName:
transcript-${interaction.channel.name}.html`,
limit: -1,
returnType: 'attachment',...bulk file downloader
ok so i dont really know how to explain this but heres what i need help making, this is not for a bot
i would like someone to help me make a script that gets all file links in a channel without restriction and uses a webhook to post the discord attachment link into another server that has the webhook...
How to kill a shard and prevent its auto respawn functionnality?
Hello,
I m using the ShardingManager and I want to know how to prevent the shards you kill with shard.kill() to automatically respawn after it? Without restarting the ShardingManager....