milmilmilmil
Configuration

Notifications & Bot

Set up push notifications and interactive bot commands via Telegram, Discord, or webhooks.

Overview

milmil can send push notifications and accept interactive bot commands through Telegram, Discord, and generic webhooks. Both features are configured in Settings > Notifications.

Each platform card has two independent toggles:

  • Push Notifications — one-way alerts for downloads, errors, and system events
  • Bot Commands — interactive commands like /schedule, /search, /downloads

Telegram Setup

Create a Bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Enter a display name (e.g. milmil)
  4. Enter a username ending in bot (e.g. milmil_media_bot)
  5. BotFather replies with a Bot Token — copy it

Get Your Chat ID

  1. Send any message to your new bot
  2. Open in browser: https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
  3. Find "chat":{"id": 123456789} — that number is your Chat ID

Configure in milmil

  1. Go to Settings > Notifications > Telegram
  2. Paste the Bot Token
  3. Enter the Chat ID
  4. Enable Push Notifications and/or Bot Commands
  5. Click Save

Webhook Mode (Optional)

By default the bot uses long polling (works behind NAT/firewalls). If your server has a public URL, you can switch to webhook mode for lower latency.

Enter a Webhook URL (e.g. https://your-domain.com/api/v1/bot/telegram/webhook). Leave blank to use polling.

Allowed Chat IDs

Restrict which Telegram chats can send commands to the bot. Enter comma-separated chat IDs. Leave blank to allow only the configured Chat ID.

Event Routing

Configure which events go to which platforms using the event routing matrix below the platform cards.

EventDescription
Download StartedRSS rule triggers a new download
Download CompletedDownload finishes successfully
Download FailedDownload encounters an error
Library Scan CompleteLibrary scan finishes processing
System ErrorBackground job fails unexpectedly

Bot Commands

CommandDescription
/startWelcome message and command list
/scheduleWeekly airing schedule
/search <query>Search anime
/detail <id>Anime details with cover and score
/downloadsActive downloads with progress
/subscribe <anime>Set up auto-download subscription
/statusSystem overview
/mylist [status]Your anime collection
/continueRecently watched, continue watching

Commands support inline buttons for quick actions like subscribing, pausing downloads, and viewing details.

On this page