# Alerts in Discord

- Section: Alerts (no code) (TTF API reference)
- Source: https://ttf.bot/developers/docs/#discord-alerts
- The whole reference as one text: https://ttf.bot/developers/docs/llms-full.txt

Get your alerts in your Discord DMs or in a channel of a server you manage, posted by the TTF bot. No server and no code.

## Before you start

- A TTF developer account (free), opened in a normal web browser (not inside Telegram): Discord sends you back to the same browser.
- For a server channel: you own the server, or have **Administrator** or **Manage Server**, or a role above the bot's role.
- For DMs: you share a server with the TTF bot and allow DMs from server members (Discord's rule for bots).
- A free destination on your plan.

## Connect it

1. **Open Destinations**

   In the [dashboard](https://ttf.bot/developers/app/), tab **Destinations**, under **Where should alerts go?** pick **Discord**. Then **My DMs** or **A server channel**.

2. **Continue with Discord**

   Discord opens and asks you to approve. TTF reads your Discord name and your server list, nothing else, and does not keep the access. Back on the page, check the name: **Yes, that is me**.

3. **Pick the server and channel**

   Servers you manage are listed. Not there yet? Press **Add the bot**, add it in Discord, come back and press **Check again**. Then pick the channel. A channel is missing when the bot cannot see it or post in it, when you cannot, or when it is age-restricted.

4. **Name it and pick what it takes**

   Give it a name, tick the alert types, choose the options (below), press **Create destination**.

5. **Test it**

   Press **Send a test message**, then **Make an alert for it**.

## Options

- **Use an embed (card look)**: the message shows as a card with a coloured edge. **Embed colour**: automatic (green when the price went up, red when it went down) or a fixed colour. A channel marked "no card look" does not let the bot embed links: there the plain message is sent.
- **Send quietly**, **Scan button** and **Token page button**: as in Telegram.

The message text is the same as in Telegram, turned into Discord's formatting by TTF ([Design the message](https://ttf.bot/developers/docs/md/alerts-design.md)).

## It keeps checking

Before it sends, and every few minutes, TTF checks that you still have the rights above and that the bot can still post. If not, the destination stops and shows **Needs attention**: fix the channel's permissions (the bot needs **View Channel** and **Send Messages**) and press **Re-check**. Alerts never ping anyone: `@everyone`, `@here` and names are refused in messages.

## Your Discord account

Your connected Discord account shows on the Destinations tab. **Unlink my Discord account** stops every Discord destination until you connect Discord again.

## What TTF asks for

- Only your approval on Discord's own page. **TTF never asks for a Discord bot token, a webhook URL or your password**: the alerts are posted by the TTF bot.
- Discord destinations are switched on separately from Telegram: when the Discord choice says **Not available right now**, they are off for the moment; use Telegram or your own server meanwhile.

> More help, in plain words: the [Telegram and Discord alerts guide](https://ttf.bot/guides/telegram-and-discord-alerts/).
