Nenrikido
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/7/2023 in #djs-questions
Context menu commands not adding to the Context menu or not updating
i see, well i'll just do that then
i'm guessing i might have issues with how i instanciate my rest client anyway so i'll just copy paste the code from the documentation in a separated script as its supposed to be
12 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/7/2023 in #djs-questions
Context menu commands not adding to the Context menu or not updating
i figured, but i thought that just putting it in my ready would work just as well
12 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/7/2023 in #djs-questions
Context menu commands not adding to the Context menu or not updating
in the ready event listener, by walking through my files, like in the documentation
i have a
client.commands
collection that i fill with the command name in command
the code is the same as what's done here :
https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands12 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/7/2023 in #djs-questions
Context menu commands not adding to the Context menu or not updating
[email protected]
v16.15.1
12 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/6/2023 in #djs-questions
How to manage channel and role permissions for context menu commands ?
ok thanks, well i'll work around that then
9 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/6/2023 in #djs-questions
How to manage channel and role permissions for context menu commands ?
oh i see, so the max i can do is set it to "by default" not be used by people who don't have "manage messages" permissions for instance ?
9 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/6/2023 in #djs-questions
How to manage channel and role permissions for context menu commands ?
so what is
setDefaultMemberPermissions
used for ? and there isn't any way to restrict the use of a context menu command ?9 replies
DIAdiscord.js - Imagine an app
•Created by Nenrikido on 9/6/2023 in #djs-questions
How to manage channel and role permissions for context menu commands ?
[email protected]
v16.15.1
9 replies