rawError: { message: 'Missing Permissions', code: 50013 },
I'm not quite sure what it means?
This error stems from me sending an embed, with content in the message along with the embed. any sort of message, I've tested things like 'test' and '@ everyone' and i get the same error, it's seeming to stem from having no perms to send content w/ embeds? I've checked the channels.
The bot's role has all the perms, the channel also has it's own individual perms for the bot.
12 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!14.14.1 btw
Here's the full error
Your bot does not see or is unable/not allowed to send message in advertiseChannel
idk how that could be remotely true
it has every allow or manage perm on the list
I'll check tho.
That would be the only reason since the reply is ephemeral
the reply to the user is ephemeral yes
the missing permissions thing confuses me, it has every perm I could give it
Try to put it admin.
This even works in the advertised channel
it has admin aswell
The reply will work since it is an ephemeral and it does bypass permissions.
I've tried a bunch of different perm things, like it's role (and it's spot in the heiarchy) and channel perms
console.log(advertiseChannel.permissionsFor(interaction.client.user).has(['ViewChannel', 'SendMessages', 'EmbedLinks']))
you're right