Setup Discord Notification Bot

This page is a walkthrough guide for connecting the TradeServer Cloud to Discord. Once connected to the Discord server, TradeServer Cloud will create several channels and push your notifications to those channels. These notifications can come from manual orders or bots.
Do not connect the bot to an existing server. The bot will manage the channels and remove unknown/obsolete ones

Notification overview

Below is a list of the currently available notifications that can be pushed from TradeServer Cloud to Discord.
  • Completed orders (bot & manual orders through TradeServer Cloud)
  • Cancelled orders (bot & manual orders through TradeServer Cloud)
  • Historical orders (data from API)

All Bots

  • Activating/Deactivating
  • Trade amount error
  • Coin/Funds position switch
  • Order execution.


Message Profile

Each bot has its own message profile than can ignore or push notifications. To edit a message profile
  • Open the bot and click on “Message Profile” under the Quick Links
  • Open the context menu on the bot page, list or widget and click on “Message Profile.”

Server Guide

  1. 1.
    Open Discord and create a new server
  2. 2.
    Select “Create a Server” and enter a server name.
  3. 3.
    Open the “Server Settings
  4. 4.
    Go to “Roles” and create a new role
  5. 5.
    Enter a name for the new role. E.g., “Bot”
  6. 6.
    Enable the following setting:
    1. 1.
      Manage Channels
    2. 2.
      Manage Messages
  7. 7.
    Save the changes and close the settings window.
  8. 8.
    Open the Discord app settings
  9. 9.
    Go to “Appearance” and enable “Developer Mode.”
  10. 10.
    Close the settings page.

Creating a bot

  1. 1.
    Go to and click on “New App.”
  2. 2.
    Enter an “App Name” and click on “Create App.”
  3. 3.
    Select “Bot” in the left menu and click on “Add Bot.”
  4. 4.
    Copy the following link and replace CLIENTID with your client ID. (Client ID is located in the "General Information" menu)
  5. 5.
    Open the link with the replaced CLIENTID and assign the Bot to the server you created in Discord.
  6. 6.
    Right-click on the bot user and add the created role.

Adding the bot to TradeServer Cloud

  1. 2.
    Open “Bot” in the left menu and click on “click to reveal” next to Token.
  2. 3.
    In HTS, Copy and paste this token in the “Discord OAuth Token.” (Settings -> Notification tab.)
  3. 4.
    Open discord and go to the created server.
  4. 5.
    Right-click on the server name and select “Copy ID.”
  5. 6.
    In HTS, Paste this in the “Server ID” field in TradeServer Cloud. (Settings -> Notification tab)
  6. 7.
    Save the settings. The bot will connect and create channels. A welcome message will be posted in #general.