fenya
DIAdiscord.js - Imagine an app
•Created by fenya on 8/13/2024 in #djs-questions
Getting "Unknown message" sometimes...
yo. Excluding command handling I have something like this:
4 replies
DIAdiscord.js - Imagine an app
•Created by fenya on 1/4/2023 in #djs-questions
How is it possible that the Message's author is equivalent to null?
Error reffers to
Generated from
8 replies
DIAdiscord.js - Imagine an app
•Created by fenya on 8/28/2022 in #djs-questions
Access error using a channel deletion method
Yo. When I add my bot to the guild I request ManageChannels & ManageRoles permissions. Right now on my test server I found a rather strange error.
If I right now execute this function with current perms. The channel will be successfully deleted.
---
I wanted to add a command to block this channel. I execute it like this:
But after executing this command, the bot loses the ability to delete this channel.
I checked the permissions of the bot before blocking the channel - and after. Didn't notice the difference.
3 replies
DIAdiscord.js - Imagine an app
•Created by fenya on 8/27/2022 in #djs-questions
How can I check if I can overwrite channel permissions?
I prefer to check permissions before acting. So if I want to create a channel I check
So, how can I check if I can overwrite channel permissions? In what situations might a bot not have enough perms to perform this action? What kind of bitField is needed to execute lockPermissions()?
10 replies