> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reconnect-tool.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Termux Discord Webhook: Rejoin Notifications Setup Guide

> Configure a Discord webhook in Reconnect Termux to receive real-time rejoin alerts, disconnect notices, and periodic status updates with screenshots.

The Discord Webhook Setup screen connects the Reconnect Termux client to a Discord channel so you receive live notifications whenever an account rejoins, disconnects, or encounters an error — plus optional periodic status updates with full device stats and screenshots.

***

## Configuration Fields

Open the Discord Webhook Setup screen from the main menu. Toggle fields display **✅** or **❌** and flip state when you press **Enter**. URL and Status Interval fields open an inline text input.

| Field                    | Description                                                                                      |
| ------------------------ | ------------------------------------------------------------------------------------------------ |
| **Webhook URL**          | Your Discord channel's webhook URL. Find it under Channel Settings → Integrations → Webhooks.    |
| **Enabled**              | Master on/off switch for all webhook notifications.                                              |
| **Notify on Rejoin**     | Send a message when an account starts or finishes rejoining.                                     |
| **Notify on Disconnect** | Send a message when an account disconnects.                                                      |
| **Notify on Error**      | Send a message when an error occurs in the rejoin loop.                                          |
| **Status Interval**      | How often (in seconds) the client posts a periodic status update. Default: `300`.                |
| **Test Webhook**         | Sends a test embed immediately to confirm your URL is working.                                   |
| **Edit Message Mode**    | When enabled, periodic status updates edit a single Discord message instead of posting new ones. |

***

## What Gets Sent

Each event type produces a distinct embed in your Discord channel:

| Event                  | Embed                                                                                                                                                                                                                                     |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rejoin starting        | 🔄 **Rejoin Started** — account name, reason, package                                                                                                                                                                                     |
| Account back online    | ✅ **Account Online** — account name, status, package                                                                                                                                                                                      |
| Disconnect detected    | 🔴 **Disconnect Detected** — account name, reason, package                                                                                                                                                                                |
| Error in rejoin loop   | ❌ **Error Occurred** — error message and context                                                                                                                                                                                          |
| Periodic status update | 📊 **Account Status Update** — per-account online/offline lines (rejoin count, uptime, RAM), plus device CPU, CPU temp, RAM, storage, battery, phone uptime, Termux RAM, session uptime, Roblox process count, and an attached screenshot |

***

## Edit Message Mode

Edit Message Mode changes how periodic status updates are delivered to your channel.

<Tabs>
  <Tab title="Edit Message Mode Off (Default)">
    Every status interval, the client posts a **new** embed to the channel. Rejoin, Online, Disconnect, and Error events each post their own separate message.
  </Tab>

  <Tab title="Edit Message Mode On">
    The client pins one status message and **edits it in place** every interval instead of posting new messages. This keeps your channel clean.

    <Info>
      When Edit Message Mode is on, per-event Rejoin, Online, and Disconnect embeds are skipped — the current state is reflected in the edited status message instead.
    </Info>

    <Warning>
      **Error notifications are never suppressed.** Even with Edit Message Mode on, every error always posts as its own message so you never miss a critical failure.
    </Warning>
  </Tab>
</Tabs>

***

## Test Webhook

Select **Test Webhook** to send a green **🧪 Webhook Test** embed to your channel immediately. The test uses whatever URL is currently in the Webhook URL field — you do not need to save first.

<Tip>
  Always run a test after setting or changing your webhook URL before relying on it for live notifications.
</Tip>

***

## Saving Your Configuration

After configuring all fields, save your settings. The client writes your configuration to `discord_webhook.cfg` on your device. Changes take effect from the next rejoin session onward.
