Available translations
loading results
Slack Bot
The Slack Bot node is used for defining the configuration for a Slack Bot. This bot allows Superalgos to send announcements to a Slack channel or Direct Message. Use the Getting Started guide in the Slack API Documentation for more details.
Узел Slack Bot используется для определения конфигурации Slack Bot. Этот бот позволяет Superalgos отправлять объявления в канал Slack или прямые сообщения. Для получения более подробной информации воспользуйтесь руководством по началу работы в документации Slack API.
Slack Bot düğümü, bir Slack Bot için yapılandırmayı tanımlamak için kullanılır. Bu bot, Superalgos'un bir Slack kanalına veya Doğrudan Mesaja duyurular göndermesini sağlar. Daha fazla ayrıntı için Slack API Dokümantasyonu'ndaki Başlarken kılavuzunu kullanın.
In order to use the Slack Bot, follow the Slack API documentation to create a new app. Edit the App Manifest and add chat:write to the oauth_config > scopes > bot section.
Чтобы использовать Slack Bot, следуйте документации Slack API для создания нового приложения. Отредактируйте App Manifest и добавьте chat:write в раздел oauth_config > scopes > bot.
Slack Bot'u kullanmak için Slack API belgelerini takip ederek yeni bir uygulama oluşturun. App Manifest'i düzenleyin ve oauth_config > scopes > bot bölümüne chat:write ekleyin.
Parameters:
Параметры:
Parametreler:
- token - required - Get this from the Oauth & Permissions menu in the Slack app configuration page.
- token - требуется - Получите его из меню Oauth & Permissions на странице конфигурации приложения Slack.
- token - gerekli - Bunu Slack uygulaması yapılandırma sayfasındaki Oauth & Permissions menüsünden alın.
-
conversationId
- required - the #channel or Conversation ID obtained from Slack -
conversationId
- требуется - идентификатор канала или беседы, полученный из Slack -
conversationId
- gerekli - Slack'ten alınan #kanal veya Konuşma Kimliği - format - optional - allows custom formatting of the message being sent into Discord.
- format - опционально - позволяет настроить форматирование сообщения, отправляемого в Discord.
- biçim - isteğe bağlı - Discord'a gönderilen mesajın özel olarak biçimlendirilmesini sağlar.
Recognized Format Variables:
Распознанные переменные формата:
Tanınan Biçim Değişkenleri:
- `%{EXCHANGE}` the exchange which is operating,
i.e.
Binance - `%{EXCHANGE}` биржа, которая работает, т.е. Binance
- `%{EXCHANGE}` çalışmakta olan borsa, yani Binance
- `%{MARKET}` the market which is operating.
i.e.
BTC/USDT - `%{MARKET}` рынок, который работает. т.е. BTC/USDT
- `%{MARKET}` faaliyette olan piyasa. yani BTC/USDT
- `%{MESSAGE}` the text being sent
- `%{MESSAGE}` отправляемый текст
- `%{MESSAGE}` gönderilen metin
An example format is:
В качестве примера можно привести следующий формат:
Örnek bir format şöyledir:
"%{EXCHANGE} %{MARKET}: %{MESSAGE}"
Which results in a final message in Slack that looks like:
В результате итоговое сообщение в Slack выглядит следующим образом:
Bu da Slack'te aşağıdaki gibi görünen bir son mesajla sonuçlanır:
"Binance BTC/USDT: Backtesting Session 'Lightning Strike' is starting."
Initial Values
These are the Initial Values for Slack Bot configuration:
{
"token": "BotUserOauthToken",
"conversationId": "#channelOrDmId"
}
Examples
This is a list of properties featured by the Slack Bot configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Slack Bot Menu
The Slack Bot node has the following Node Menu items:
The Configure menu item has the following properties:
- action: Configure
- actionFunction:
uiObject.configEditor.activate
- label: Configure
- iconPathOn: configuration
- iconPathOff: configuration
- actionProject: Foundations
The Send Slack Test Message menu item has the following properties:
- action: Send Slack Test Message
- label: Send Slack Test Message
- iconPathOn: test-entity
- iconPathOff: test-entity
- actionFunction:
payload.executeAction
- actionProject: Social-Bots
The Delete menu item has the following properties:
- action: Delete UI Object
- actionProject: Visual-Scripting
- askConfirmation: true
- confirmationLabel: Confirm to Delete
- label: Delete
- iconPathOn: delete-entity
- iconPathOff: delete-entity
- actionFunction:
payload.executeAction
Tip: When a menu item is grayed out, it means that Slack Bot already has the required child type that the menu item may add, and only that child is allowed for that case.
Slack Bot Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Slack Bot with other nodes:
Compatible Types: