Panda
DIAdiscord.js - Imagine an app
•Created by Panda on 3/3/2025 in #djs-questions
Inconsistent API Response ?
I have an Bot who should create an text channel
Before creating the Channel, I check if the Bot has permission on the guild and additionally in the category I want to create the textchannel in
Both of these checks return true
If the Bot now makes the request onto the guild
The API returns an "Permissions missing error" even tho the Bot has both according to the previous checks ?
Am I doing something wrong or is this an discord error ?
FYI: If I give the Bot administrator it works like a charm, if he only has ManageChannel, ViewChannel and ManageRoles it wont work
Discord.js: 14.17.3
Node: 20.10.0
3 replies
DIAdiscord.js - Imagine an app
•Created by Panda on 1/3/2025 in #djs-questions
Formatting Discord Response Messages
Is there a way to modify the responses from Discord API wrapped by DiscordJS
If its possible, is there a way to define messages based on error code or URL patterns ?
9 replies