palico-bot/test
Shinuwa 6ca17264e0
All checks were successful
Deploy Palico Bot / deploy (push) Successful in 7s
Let trusted apps add an embed and a link button to Discord direct messages
- POST /api/notifications/dm accepts optional embed (title, description, url, color, thumbnail, fields, footer, timestamp) and link fields; plain text stays required for phone notifications.
- Every value is checked against Discord's limits, and urls and thumbnails must use https; a refused embed answers 400 INVALID_EMBED.
- Sokko TCG uses it to show the destination, the result and the loot of its expedition alerts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 11:24:20 +01:00
..
auth.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
commands.test.js Fix deploy and lock down the DM route; add /invitation 2026-11-29 10:57:22 +01:00
directMessages.test.js Let trusted apps add an embed and a link button to Discord direct messages 2026-11-29 11:24:20 +01:00
invitation.test.js Fix deploy and lock down the DM route; add /invitation 2026-11-29 10:57:22 +01:00
invitationCommand.test.js Explain missing channel access in /invitation; log DM requests 2026-11-29 11:22:10 +01:00
musicQueue.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
serializers.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
storageManager.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
webServer.test.js Fix deploy and lock down the DM route; add /invitation 2026-11-29 10:57:22 +01:00