Media Channels

Set up specific channels where only images can be sent!

This module requires a Premium Subscription to function.

The Media Channels module will allow you to define channels where only images can be sent. Regular text messages will be deleted when sent into one of these channels.

Settings

Channel Setup

In this area, you can choose which channel you would like to become a media channel. Once these settings are configured, click the add button in the bottom right shown in the image below.

Channel Type

With this selection you can choose what type of channel will become a media channel. You may choose from either a regular text channel or a forum channel.

Text Channel

From this dropdown you can choose the channel from your server that you would like to become a media channel. Reminder that a media channel only allows for images to be sent so no message can be sent without an image.

Whitelisted Roles

In this selection you can pick roles that you would like whitelisted. Whitelisted roles will not be moderated by the module and users with these roles can send any content they wish.

To save the media channel's settings, you need to click "Add" in the bottom-right corner of the settings. This will reset the fields so you can set up another media channel.

Active Media Channels

Once you have added a media channel from the settings above, a new area will appear that contains all the active media channels. Currently the maximum is 10 media channels. You may edit / delete any of these active media channels on the bottom right of the image below.

To save the edits you made on the media channel's settings, you need to click "Edit" in the bottom-right corner of the settings.

Channel Settings

In this section you can configure the channel limits and moderation for your media channels.

Allow Text Content

This toggle will allow you to choose if you would like any message's content to contain text alongside an image.

Allow GIFs and Embeds

This toggle if enabled, will allow gifs and embeds to be sent to your media channels.

Block Duplicated Attachments

If this toggle is enabled it will block attachments that are sent more than once in a media channel.

Maximum Attachments and Embeds

With this field you can decide how many attachments or embeds can be sent before the message is deleted. The maximum is 100 and the minimum is 0. This field only accepts integers.

Channel Rate Limit

With this field you can enable a channel rate limit or in other terms, a slowmode in seconds, for your media channel. This field only accepts integers and the maximum is 3600 seconds. If this option is set to 0 that will disable it.

Allowed Media Type

Here you can choose the type of media you want to allow in your channel. If you are looking for customizing the possible file extensions that can be sent, choose the Advanced type.

This option will allow all media types to be sent.

TypeDetails

All Media Types

This option will allow all media types to be sent.

Images only

This option will only allow images to be sent.

Videos only

This option will only allow videos to be sent.

Advanced

This option will allow you to input certain file types that are allowed in the channel.

Enable Error Message

This toggle allows you to enable an error message when a message gets deleted inside a media channel.

Error Message

If enabled by the toggle above, you can customize the error message that will be sent if a user sends a message without attachments to your media channels. The message will appear for 10 seconds in the media channel, and mention the user. You can use all variables and the {reason} variable to get the deletion reason.


Events

In this area, you can view and modify the events of the Media Channels module. Below you may find some information on each event of the module.

MediaChannel Handler

This is the main event for the module, this will handle the deletion of text messages sent into the media channel.

MediaChannel Edit Handler

This is the same as the other handler, except it will only look for messages that get edited to moderate.


It's advised that you do not edit the commands and events unless you have a good understanding of BotGhost and its Command Builder. If you encounter any issues, you might want to reset the module for it to work again as intended.

Additionally, a copy of the edited commands / events will be created if you update the module.

Last updated