Nenrikido
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
Hi, i'm trying to add / remove context menu commands to my bots, i create them similarly to the ones that works fine, but they won't get added to the context menus, and the commands i remove from the bot stays there. Do i have to do something on the server management side so that it gets refreshed ? or do i have to do something particular with the bot's code ? Thanks in advance !
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 ?
Hello ! I'm sorry if that's quite a beginner question but I'm trying to set some channel and role permissions for a context menu command and i'm very confused by the documentation : I try to use the setDefaultMemberPermissions method from ContextMenuCommandBuilder which apparently needs a permissions bit field, but how do i set it to be used only in a specific channel or/and by a specific role ? Thanks in advance !
9 replies