50001 and 50013
I am getting a couple of issues related to this ..
Node : v17.9.1
d.js : 14.11.0
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.
- Issue solved? Press the button! i'm getting this error but in playerStart.js line 42
where
queue.metadata : { interaction : <Interaction> }
i dont understand why it would execute channel.send()
if theres no permission!!
from the error i received, i tried client.channels.cache.get('').permissionsFor(client.user).serialize()
and this is what i got
both ViewChannel and SendMessage is true . but then why would it give this error
ohh
not even as interaction replies?
no i'm just asking if i've to check when i am sending a interaction reply too
editReply and followUp need permission? i thought all them could be done with everyone permission
is this the same for interaction replies?
because what if a person invites the bot with no permissions and the the everyone role doesnt have the permission either.... wouldn't it result in a 403 error?
is there a web page that i can look into about this?
50013 missing permission errors have been fixed for me now.. i had to check EmbedLinks ... the other issue i'm having is :
i tried fetching the channel and it gives an error again.DiscordAPIError[50001]: Missing Access
that would mean the bot is not in the guild if i'm right... then why would it try to send a message though
this is confusing.. i got a similar error of 50001 rn and i did the same and logged the permissions
hmm the next one i check too has the same permission... all are true
yes... there is a gap from when i get the error and try to log this though
i fetched the channel using the id and logged permissionsFor(client.user).serialize()
someone..?