feat: initial prototype
Node.js CI / Lint and Test (push) Successful in 34s

This commit is contained in:
2025-10-04 18:11:37 -07:00
parent e390e6c9fe
commit c7dd989a9e
19 changed files with 5131 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import {
ApplicationCommandType,
ApplicationIntegrationType,
ContextMenuCommandBuilder,
InteractionContextType,
InteractionType,
} from "discord.js";
const bookmark = new ContextMenuCommandBuilder()
.setType(ApplicationCommandType.Message)
.setName("Bookmark")
.setContexts(
InteractionContextType.Guild,
InteractionContextType.PrivateChannel
)
.setIntegrationTypes(ApplicationIntegrationType.UserInstall);
const deleteCmd = new ContextMenuCommandBuilder()
.setType(ApplicationCommandType.Message)
.setName("Delete")
.setContexts(InteractionContextType.BotDM)
.setIntegrationTypes(ApplicationIntegrationType.UserInstall);
console.log(JSON.stringify([bookmark.toJSON(), deleteCmd.toJSON()]));