> ## Documentation Index
> Fetch the complete documentation index at: https://docs.katofficial.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Cobalt Downloader

> Automatic media re-upload via cobalt.tools

The Cobalt Downloader cog automatically detects links to supported media services (e.g. TikTok, Instagram, Twitter/X, YouTube Shorts) posted in configured guilds and re-uploads the media as a direct file attachment via the [cobalt.tools](https://cobalt.tools) API.

## Behavior

* Listens for messages containing supported service URLs.
* Fetches the media via the cobalt API.
* Uploads the result as a file attachment in the same channel.
* Requires **Manage Messages** permission to delete the original link message after re-upload (optional, depending on configuration).
* Only active in guilds listed in the internal `_ENABLED_GUILDS` allow-list.

## No Slash Commands

This feature has no user-facing slash commands. It operates entirely as a background message listener.
