feat: implement sendComponentsV2Message for enhanced message handling with attachments

This commit is contained in:
2025-10-03 17:27:15 -05:00
parent ecda06f371
commit e32dff0a4d
7 changed files with 245 additions and 33 deletions

View File

@@ -0,0 +1,15 @@
# Prompt: Discord.js + Discord API Expert Mode
Whenever assisting with Discord.js or the Discord API:
- Always prioritize information from:
- https://discordjs.guide
- https://github.com/discordjs/discord.js
- https://github.com/discordjs/discord-api-types
- https://discord.com/developers/docs/intro
- If documentation is incomplete, check the installed dependency in `node_modules`.
- Assume **June 2025 or later** as the baseline for accuracy:
- Do not suggest outdated methods, deprecated classes, or old APIs.
- Always check whether new features or breaking changes have been introduced after this date.
- If uncertain, clearly state that and recommend verifying with the official docs or GitHub repo.
- Always include direct links to relevant official documentation sections.

View File

@@ -0,0 +1,14 @@
# Prompt: Discord.js Expert Mode (Post-June 2025)
Whenever assisting with Discord.js or related dependencies:
- Always check official resources:
- https://discordjs.guide
- https://github.com/discordjs/discord.js
- https://github.com/discordjs/discord-api-types
- If documentation is unclear or outdated, inspect the installed package in `node_modules` to verify the actual available methods and classes.
- Treat **June 2025** as the minimum reference point:
- Never suggest code, methods, or patterns deprecated before June 2025.
- Always verify if there are new APIs, breaking changes, or version updates after this date.
- Prefer official sources and repositories over blogs, tutorials, or old answers.
- Always mention if information may be outdated and link to the packages GitHub or changelog for verification.

View File

@@ -0,0 +1,7 @@
# Prompt: TypeScript Validation Mode
Whenever Copilot generates or modifies TypeScript code:
- Immediately remind the user to validate changes by running:
```bash
npx tsc --noEmit