How wezlem/luminasubs-bot works
LuminaSubs is a Discord bot for publishing anime episode announcements. A user runs the announcement command, supplies episode details and release links in a modal, and the bot enriches the announcement with anime metadata before posting an embed with link buttons and an optional role mention. The command temporarily saves contributor selections for the modal handler. Anime lookup prefers Jikan, then falls back to AniList and Kitsu. Source excerpts show the handlers and helpers, but not Discord’s internal delivery behavior.
Main entry points: interactionCreate.js Interaction handler · mal.js Anime lookup · bolumbildirimi.js Episode command · index.js Bot runtime
Components 14
Discord bot
- Bot runtime
index.js - Interaction handler
events/interactionCreate.js - Ready handler
events/ready.js - Presence helper
utils/presence.js
Announcement workflow
- Episode command
commands/bolumbildirimi.js - Pending team data
utils/pendingData.js - Link parser
utils/parseLinks.js - Embed and buttons
utils/embed.js
Anime metadata
- Anime lookup
utils/mal.js
Other components
- Discord user
- Discord platform
- Jikan API
- AniList API
- Kitsu API
Connections 19
- Bot runtime → Interaction handler: registers handler
- Bot runtime → Ready handler: registers handler
- Interaction handler → Episode command: dispatches command
- Discord user → Discord platform: submits command
- Discord platform → Interaction handler: delivers interaction
- Episode command → Pending team data: stores team data
- Episode command → Discord platform: opens modal
- Discord user → Discord platform: submits modal
- Interaction handler → Pending team data: reads and deletes
- Interaction handler → Anime lookup: requests anime info
- Anime lookup → Jikan API: requests metadata
- Anime lookup → AniList API: fallback lookup
- Anime lookup → Kitsu API: fallback lookup
- Kitsu API → Kitsu API: looks up studio
- Interaction handler → Link parser: parses release links
- Interaction handler → Embed and buttons: builds announcement
- Interaction handler → Discord platform: posts announcement
- Ready handler → Presence helper: sets presence
- Presence helper → Discord platform: updates presence