Skip to main content

Overview

A media channel only takes what you decide. Petto deletes everything else and tells the person why, in a notice that deletes itself. There are two kinds, and a channel can be both:
  • Pictures and videos (!imgonly): only messages with attachments. You choose whether videos, audio and other files are allowed, and whether the picture can come with text.
  • Links (!urlonly): only links, from any site or only from the ones you choose: YouTube, X (Twitter), Instagram, TikTok, Pinterest, Spotify, Twitch, Kick, SoundCloud, Reddit, Facebook, GitHub, GIFs (Tenor and Giphy) and Discord.
It needs Manage Server to set up, and Petto needs Manage Messages in the channel to delete what does not fit. The same settings are in Community → Media channels of the dashboard, with a card for each channel that shows what is kept and what is deleted.
In the music channel shi shares a Spotify link, and Petto tells mia that only links are allowed in this channel

In Discord: a message without a link in a channel for Spotify, YouTube and SoundCloud links. It was deleted and Petto says why; the notice deletes itself.

The Media channels page with art and clips for attachments and music for Spotify, YouTube and SoundCloud links, each with a preview, and the Add channel card

Dashboard → Community → Media channels: a card for each channel, with a message that is kept and one that is deleted.

The music dialog with Links on and YouTube, Spotify and SoundCloud chosen, Text next to it is fine and Say why it was deleted on, and the roles field

Dashboard → Community → Media channels: the settings of #music, links of three sites, with the notice and the roles that can write anything.

Pictures and videos

liam makes art a pictures channel and Petto says it only accepts attachments, pictures and videos, text allowed

In Discord: #art only takes pictures and videos now, with text allowed.

liam adds clips with videos and audio and Petto confirms pictures, videos and audio

In Discord: #clips takes audio files too.

liam adds memes and Petto answers that it needs to see the channel and have Manage Messages there

In Discord: without Manage Messages in #memes, no rule is set.

liam removes clips and Petto says it accepts everything again and keeps its link rule if it had one

In Discord: #clips accepts everything again.

Petto lists art with pictures and videos and clips with pictures, videos and audio

In Discord: the pictures and videos channels of the server.

toasty writes about an art trade in art and Petto answers that only attachments are allowed in this channel

In Discord: a message with only text in #art is deleted, and Petto says why in a notice that deletes itself.

toasty shares an mp3 file in art and Petto answers that that kind of file is not allowed in this channel

In Discord: an audio file in #art, where audio is not allowed.

  • videos (default yes), audio (default no) and files (any other file, default no) choose what counts as media. Pictures are always allowed.
  • caption (default yes) lets the picture come with text. With it off, a message with text is deleted.
Short names: !gallery and !imageonly.
liam makes music a links channel for spotify youtube soundcloud and Petto confirms it

In Discord: #music only takes links of Spotify, YouTube and SoundCloud.

liam adds links without sites and Petto confirms links of any site, text allowed

In Discord: #links takes links of any site.

liam adds watch with twitch and vimeo and Petto answers that it does not know one of those sites

In Discord: vimeo is not one of the sites, so nothing is set.

liam removes music and Petto confirms it

In Discord: #music accepts everything again.

Petto lists music with links of Spotify, YouTube and SoundCloud

In Discord: the links channels of the server and their sites.

Petto lists YouTube, X, Instagram, TikTok, Pinterest, Spotify, Twitch, Kick, SoundCloud, Reddit, Facebook, GitHub, GIFs and Discord

In Discord: every site a links channel can allow, with the word to type.

toasty shares a vimeo link in music and Petto answers that that link is not from one of the sites allowed in this channel

In Discord: a Vimeo link in #music, a channel for three other sites.

  • sites is a list of the sites that are allowed, such as youtube x instagram. Leave it out to allow any link. !urlonly sites shows the list.
  • caption (default yes) lets the link come with text.
Short name: !linkonly.

Notes

  • A channel can have both kinds at the same time (pictures and links of some sites).
  • remove takes the rule off. If a channel has both kinds, it only takes off the one you named.
  • If Petto cannot delete messages in the channel, add tells you instead of setting a rule that would not work.
  • add and remove need Manage Server; list and !urlonly sites work for anyone.
  • Members with Manage Messages (or Administrator) are never touched. In the dashboard you can also choose Roles that can write anything, and turn off the notice.
  • The notice deletes itself after a few seconds, and someone who sends several messages in a row gets only one.
  • !mediaonlyconfig (also !imgonlyconfig and !urlonlyconfig) shows the settings of the media channels and the !imgonly commands to change them.
Petto's Media channels config card for art: attachments on, links off, pictures and videos, text allowed, notice on, and the imgonly commands

In Discord: !mediaonlyconfig, the settings of the media channel and the commands to change them.