Image-Only Channels
This feature allows you to designate specific channels where only messages containing images or embeds are permitted. Any text-only messages sent in these channels will be automatically deleted, and the sender will receive a brief notification.
Setup
Toggle image-only mode for a channel:
;imageonly #your-channel(Optional) To disable, run the command again:
;imageonly #your-channel
Example Use Case: A server has a dedicated channel for memes and wants to ensure no text discussions occur there.
Run
;imageonly #memesIf a user posts "lol that's funny" in
#memes, the message is instantly deleted, and they receive a temporary warning.
Configuration
imageOnlyChannels: A list of channel IDs that are configured to be image-only. Messages without images or embeds in these channels will be deleted.
Common Issues:
Text messages are not deleted → Ensure the bot has
Manage Messagespermission in the image-only channel.Bot is deleting its own messages → The system is designed to ignore the bot's warning messages, but ensure no other bot messages are being sent without media.
Embeds are being deleted → The system should allow messages with embeds. If they are deleted, check if the embed was sent without any media content.
Usage
Once a channel is set to image-only mode, Squint will automatically delete any messages that do not contain an image attachment, an image link in the message content, or an embed. A brief warning will be sent to the user whose message was deleted.
Related Commands
;imageonly- Main command for managing image-only channels.
Last updated
Was this helpful?