(Open Discord) Added support for context menu's
This commit is contained in:
@@ -1094,4 +1094,13 @@ export const loadAllTextCommands = async () => {
|
||||
}
|
||||
]
|
||||
}))
|
||||
}
|
||||
|
||||
export const loadAllContextMenus = async () => {
|
||||
const menus = opendiscord.client.contextMenus
|
||||
const generalConfig = opendiscord.configs.get("opendiscord:general")
|
||||
if (!generalConfig) return
|
||||
|
||||
const act = discord.ApplicationCommandType
|
||||
if (!generalConfig.data.slashCommands) return
|
||||
}
|
||||
Reference in New Issue
Block a user