Unable to collect reactions
Hey guys, I could use some help with an issue I'm seeing using discord.js 🙂
I'm trying to register when a user reacts to a message that my bot sends out. I have
```js...
Is there a way to hide this part of the slash command
The part which reports which user used the command

cache expires?
Hi i have a feature in my bot that runs in a interval every 30min. Its something like that:
guild.roles.cache.get(....).memberCount
But i noticed, that always after ~2 days the role and memberCount becomes null....
disabling an interaction menu
im just trying to disable an interaction after input from a player so that the messages can be properly deleted
Bot becomes unresponsive after executing a slash command
Hello! I'm building a discord bot and I've got it functional up to the point of the slash command handler working for one iteration. After any user sends a slash command the bot becomes unresponsive
I'm not sure where in my Logic the issue may be, so I'm going to post the relevant code blocks and maybe someone might be able to help me understand where I went wrong 🙂...
insufficient permission
how can I check if my bot has permission of administrator on the event interactionCreate, so I wont get insufficient permission ?
Error Handling?
I want to supress only certain types of errors.
- Where can I find the documentation for different error.code values?
- Where can I find the structure of errors returned by Discord.js?
- What are the best practices for handling discord.js errors?...
<Member>.voice returns null
Heyhey, i've ran into an issue where whenever a member is connected to a channel when the bot starts or restarts, and then leaves, the old voicestate of that member will always be null. Any ideas on how to possbily prevent this?
I cannot use my any command....
When I try use any command. it doesnt send message in channel but it send message from dm
my code: (it can be complicated but every if else typical same)
https://srcb.in/IqfX6bA25D...

Stuck trying to create a map to track votes on messages
I'm trying to allow user to upvote/downvote messages using reactions, as well remove their previous vote. I'm using a map and a map of maps to do this. The problem is that when a user reacts to a message, the map "userMessageVotes" updates correctly, but the map of maps does not.
userMessageVotes - A map of a users votes per message
messageVotes - A map of maps that has all votes from all users in a message.
...
Sending a user a DM
im trying to send a embed to a user's DM when they get a certain role. It use to work but now i get an error for line 11 saying "Cannot read properties of undefined (reading 'members')"
Then i use member.user.send(WelcomeEmbed) to send the embed
Versions:...
userse
Hello, what is the correct event I need to use in order to monitor a permission that changed on specific channel, for example if a "everyone" role ViewChannel/Connect permission has been changed to 'x'
Check if token valid
How can I check if a token is valid before trying to login? or maybe using the login function if that return a good error idk
code: 'ERR_SOCKET_CONNECTION_TIMEOUT'
```
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
...
Get member roles without member cache
so i have guild member cache disabled but i would like to get roles id array which is gotten from api once on a while if i try to use roles.cache.keys, it gives just everyone role, or other way if i already have to use cache, can i somehow like add filter before saving? so that it saves only specific properties?
and by first i mean there can be roles filled up after runtime which isnt good unlike on start...
deferReply not working on specific server
Hello.
We are running a small hosting service for Discord bots but one of our servers can't execute
editReply from DIscord.js. Discord.py works just fine.
The bots just stay on "is thinking..." until that eventually times out. After around 35 minutes the console shows an API error "Invalid Webhook Token".
...msg not sent to thread
```js
client.on(Events.ThreadCreate, async (thread, newlyCreated) => {
const chl = "1113514934643470456";
if(thread.parentId === chl) {
if (thread.appliedTags.includes('1113573160965656576')) {...