LogoLogo
Back to HaasOnline.comSwitch to Developer API
4.x
4.x
  • Welcome
  • TradeServer Cloud
    • Overview
    • Security
    • Troubleshooting
  • TradeServer Enterprise
    • Overview
    • Updates
    • Security
    • Installation
      • Windows
      • MacOS
      • Linux
    • Configuration
      • License Key
      • Login credentials
      • Hosting
        • Linux VPS Hosting
    • Special features
      • Price history
      • Backups
      • Machine Learning
        • Built-in Machine Learning
        • Custom Machine Learning
      • Scripted Exchange API (Coming Soon)
      • Local API (Coming Soon)
    • Troubleshooting
  • Interface
    • General Interface
      • Left Menu
      • Upper Right Items
        • Account data
        • Execute trade
        • AI Chatbots
          • Chatbot Julia
          • Chatbot David
          • Chatbot Thomas
        • Notifications
        • Menu
          • Exchange accounts
          • Settings
          • License information
          • Change Logs
          • Logout
      • Status bar
        • Price tickers
    • Dashboard
    • Bots
      • Bot management
      • Bot templates
    • HaasScript
      • Web Editor
      • Backtest Lab
        • Lab test setup
      • Backtest History
      • Manage Scripts
      • Manage Signals
    • Tools
      • Marketview
      • Market intelligence
      • Exchange profiler
      • Markets explorer
      • News
    • Finance
      • Portfolio
      • External Wallet
  • Haasscript
    • About
      • Change Log
    • Tutorials
      • Bot building
        • Trade-bot building
        • Visual bot building
        • Scripted bot building
      • Usage
        • HaasScript
          • Interval
          • Markets
          • Input Fields
          • Memory Management
          • Signal Handling
          • Position Information
          • Positions Handling
            • Fee correction
          • Order Handling
          • Trading
          • Charting
          • Optimizations
        • Visual Editor
          • Blocks
          • Parameters
          • Flow Control
          • Interaction
        • Script Editor
          • Classes
        • Managed Trading
        • Unmanaged Trading
    • Commands
      • Trade Bots
        • TradeBot Containers
        • Easy Indicators
        • Easy Safeties
        • Easy Insurances
      • Helpers
        • Array Helpers
        • Custom Command Helpers
        • Enumerations
        • Equations
        • Mathematical
        • Memory Helpers
        • Signal Helpers
        • String Helpers
        • Miscellaneous
        • Technical Analysis Helpers
      • Input data
        • Bot Settings
        • Input fields
        • Price Market Information
        • Script Settings
        • Time Information
        • Trade Market Information
      • Prices
      • Technical Analysis
      • Charting
      • Trading
        • Managed Trade Commands
        • Unmanaged Trade Commands
        • Order Information
        • Order Handeling
        • Position Information
        • Position Price Information
        • Profit Information
        • Wallet Information
      • Social Media
    • Built-in Bots
      • Version 3 bots
        • C# Scripted Bot
        • Email bot
        • Trendline Bot
        • Triangle Arbitrage Bot
      • Accumulation Bot
      • Enhanced RSI bot
      • FlashCrash (Grid) Bot
      • Crypto Index Bot
      • Intellibot Alice
      • Inter Exchange Arbitrage Bot
      • MadHatter Bot
      • Market Making Bot
      • Order Bot
      • PingPong Bot
      • Scalper bot
      • Zone-Recovery Bot
    • Community Bots
      • Simple Grid Bot (SPOT)
      • Simple Grid Bot (FUTURES)
      • Simple Market Maker (SPOT)
      • Simple Market Maker (FUTURES)
  • Usage
    • First Usage
    • Setup Exchange
      • Adding an API to the Platform
      • Binance
      • Binance US
      • Bit2me
      • Bitfinex
      • Bitget
      • BitMEX
      • ❌Bitpanda
      • Bitstamp
      • ❌Bittrex
      • Bybit
      • ❌Cex.IO (Legacy API)
      • ❌Coinbase
      • ❌Crypto.com
      • Deribit
      • Gemini
      • Gleec
      • ❌HitBTC
      • Huobi
      • ❌Ionomy
      • Kraken
      • Kraken Futures
      • KuCoin
      • KuCoin Futures
      • LBank
      • ❌OKCoin
      • OKX
      • OKX-Futures
      • OKX-Swap
      • Phemex
      • Poloniex
      • Poloniex Futures
      • WooX
    • Setup Telegram Notification Bot
    • Setup Discord Notification Bot
    • Use Signals
  • Other Resources
    • YouTube
    • Guides & Tutorials
    • Questions & Answers
    • Community Projects
  • Need Help?
    • Ask on Discord
    • Submit Support Ticket
Powered by GitBook
On this page
  • Notification overview
  • All Bots
  • Specific
  • Message Profile
  • Server Guide
  • Creating a bot
  • Adding the bot to TradeServer Cloud

Was this helpful?

  1. Usage

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.

Specific

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. Select “Create a Server” and enter a server name.

  2. Enter a name for the new role. E.g., “Bot”

  3. Enable the following setting:

    1. Manage Channels

    2. Manage Messages

  4. Save the changes and close the settings window.

  5. Close the settings page.

Creating a bot

  1. Enter an “App Name” and click on “Create App.”

  2. Select “Bot” in the left menu and click on “Add Bot.”

  3. Open the link with the replaced CLIENTID and assign the Bot to the server you created in Discord.

Adding the bot to TradeServer Cloud

  1. In HTS, Copy and paste this token in the “Discord OAuth Token.” (Settings -> Notification tab.)

  2. Open discord and go to the created server.

  3. In HTS, Paste this in the “Server ID” field in TradeServer Cloud. (Settings -> Notification tab)

  4. Save the settings. The bot will connect and create channels. A welcome message will be posted in #general.

PreviousSetup Telegram Notification BotNextUse Signals

Last updated 1 year ago

Was this helpful?

Open Discord and create a new server

Open the “Server Settings

Go to “Roles” and create a new role

Open the Discord app settings

Go to “Appearance” and enable “Developer Mode.”

Go to and click on “New App.”

Copy the following link and replace CLIENTID with your client ID. (Client ID is located in the "General Information" menu) t

Right-click on the bot user and add the created role.

Open the bot on

Open “Bot” in the left menu and click on “click to reveal” next to Token.

Right-click on the server name and select “Copy ID.”

https://discordapp.com/developers/applications/me
https://discordapp.com/developers/applications/me
https://discordapp.com/oauth2/authorize?client_id=CLIENTID&scope=bo