---
description: Cross-post server messages across multiple text-channels!
---

# Global Chat

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FONDE1cBVRjDZuZUigIO6%2Fg1.png?alt=media&#x26;token=313f8820-6975-4aab-aeb7-b72834a01076" alt=""><figcaption></figcaption></figure>

The [Global Chat](https://vyral.bot/dashboard/demo/module/41821e81-015f-463d-9999-c5d89b064608) module will allow users to connect multiple text channels, even in different servers!

## Settings <a href="#settings" id="settings"></a>

### **Global Chat Settings** <a href="#global-chat-settings" id="global-chat-settings"></a>

These are the settings that allow you to customize the [Global Chat](https://dripdropper.app/dashboard/module/module/41821e81-015f-463d-9999-c5d89b064608) module, this will allow you to configure permissions, cooldowns and more.

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FCkkTG3805V0zU4sgm5tT%2Fg2.png?alt=media&#x26;token=adf4b125-24c7-4a5e-a03e-f9239a0a75c9" alt=""><figcaption></figcaption></figure>

#### **Admin Role**

This selection will allow you to setup an admin role. Users with these roles will be able to run admin commands paired with the module. They will be able to reset settings, blacklist users and globally delete messages.

#### **Manager Role**

This selection will allow you to setup a manager role. Users with the roles selected will be able to manage global chat channels.

#### **Manager Permissions**

This setting will allow you to toggle the manager permission and when enabled, users with the manage guild permission can moderate and configure global chat channels.

#### **Message Type**

In this field you can change the type of message that is sent to the other channels, by default this is set to webhook.

#### **Message Cooldown**

This setting will allow you to choose a rate limit in seconds users can send messages with. There is a minimum of 5 seconds.

#### **Forward Attachment**

This toggle will allow you to enable whether or not to include attached images, videos, or GIFs in the message sent to the global chat channels.

#### **Automatic Reaction**

If you add an emoji to this setting, the bot will automatically react with this emoji to messages sent to global chat channels. You can use the format [here](https://dripdropinn.gitbook.io/documentation/standard-practices#how-can-i-get-a-custom-emojis-id) or a default discord emoji. A default emoji is applied, and if made blank then this setting is disabled.

### Message Settings <a href="#message-settings" id="message-settings"></a>

This section will allow you to customize the global chat messages. The settings are different depending on the type chosen from [Message Type](#message-type).

{% tabs %}
{% tab title="Webhook Message" %}
Choosing this type will make the message sent be in the form of a webhook.

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2Fw6yhvFYz9jq3uUYqZWpt%2Fg3.png?alt=media&#x26;token=a7d4dd0c-f384-48b2-9553-2ad2b3cbc5cb" alt=""><figcaption></figcaption></figure>

#### **Webhook Name**

This field configures the text that will appear in the username section of the webhook message. [Variables](../variables) can be used in this field.

#### **Webhook Icon**

This field configures an image that appears in the user icon section of the webhook message. You may use the {user\_icon} [variable](../variables) / image link.

#### **Webhook Message**

In this field you can input the message that is sent to the global chat channels. All [variables](../variables) can be used.
{% endtab %}

{% tab title="Bot Message" %}
Choosing this type will make the message be in the form of the bot's message.

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2Ff2ln2A4CN9kxX4QmHibz%2Fg4.png?alt=media&#x26;token=cf7189d8-10f5-49bf-97b3-e9b72b1b3bcf" alt=""><figcaption></figcaption></figure>

#### **Message**

In this field you can input the message that is sent to the global chat channels. All [variables](../variables) can be used.
{% endtab %}
{% endtabs %}

### Blacklist Settings <a href="#blacklist-settings" id="blacklist-settings"></a>

In this section, you can configure the blacklist settings such as blacklisted roles or blocked expressions.

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FzNxDckd3OVNo3yfdr7SS%2Fg5.png?alt=media&#x26;token=f0be8cef-059c-4c2a-aa79-1048786b7cc4" alt=""><figcaption></figcaption></figure>

#### **Blacklist Users**

This toggle if enabled, allows you give permissions to users with the manager role to be able to blacklist users using the `/globalchat moderate` command.

#### **Blacklisted Roles**

This selection will allow you to choose some roles to restrict the global chat from. Users that have one of these roles can't chat in global-chat channels.

#### **Blocked Expressions**

In this section you can set some keywords / phrases to block when using global chat. Any global-chat message that contains any of those blocked expressions won't be sent.

***

## Commands <a href="#commands" id="commands"></a>

Below you may find some information on each command of the module.

<details>

<summary>/globalchat disable</summary>

This command will disable a current global chat channel so that messages sent in this channel won't be global anymore.

</details>

<details>

<summary>/globalchat moderate</summary>

With this command you can punish users and moderate global chat channels.

</details>

<details>

<summary>/globalchat setup</summary>

This command will allow you set a global chat channel for the entire system to use.

</details>

***

## Events <a href="#events" id="events"></a>

Below you may find some information on each event of the module.

<details>

<summary>Global Chat</summary>

This event handles the main core functions of the module and connects the global chat channels across different servers to each other.

</details>
