Files
tab-bot/docs/modules/media-channels.md
T
2026-09-07 23:58:12 -04:00

1.5 KiB
Raw Blame History

Media Channels

Delete non-media messages in configured channels.

Deletes messages without attachments in the configured channel. Needs Message Content. Staff bots can still post if you allow them.

How to enable

  1. Open Studio → your bot → Modules.
  2. Find Media Channels (media-channels) and turn it On.
  3. Fill settings. Channel and role fields are Discord snowflakes, not names.
  4. Disable individual slash commands if you are near Discords 100-command cap.
  5. Reload the runner tab so the client re-registers slash commands. Global command updates can take up to an hour; guild-less register in TabBot is application-wide.

Required intents

Guilds, GuildMessages, MessageContent

Privileged intents (Message Content, Server Members, Presence) must also be enabled on the Discord application. TabBot cannot flip the Developer Portal for you.

Settings

Setting Type Default Notes
channelId · Media-only channel string none Channel ID

Slash commands

No slash commands. This module runs from events or a background timer while the runner tab is open.

Options marked with * are required. Uncheck a command in Studio to keep the module without occupying a slash slot.

Data and failure modes

Module state uses this origins KV (tabbot-store) and the runner process. There is no HoneyPeer server-side copy. Closing the runner tab stops event handlers and timers. Official modules are GNU GPL v3 or later.