Skip to content

Commands

Format: Command <Required Parameter> [Optional Parameter]

Tip

In koishi: commands, command aliases can be created, allowing you to eliminate the "dota2tracker" prefix or establish a simple alias "match" for "dota2tracker.query-match".

Tip

The following content is generated based on the command help text in the plugin, essentially equivalent to executing command -h.


dota2tracker.help

Description

Get detailed information for all commands and the link to the online documentation.

Usage instructions

Get detailed information for all commands and the link to the online documentation.

Usage examples

help

dota2tracker.subscribe

Description

Subscribes the current channel to Dota 2 match tracking.

Usage instructions

After subscribing, players need to bind their Steam ID in this channel. The bot will then track new matches of bound players and post image-based reports upon completion of parsing by Stratz.

Usage examples

subscribe

dota2tracker.unsubscribe

Description

Unsubscribes the current channel from match tracking.

Usage instructions

Unsubscribes the current channel from match tracking.

Usage examples

unsubscribe

dota2tracker.bind <steam_id> [nick_name]

Description

Binds your SteamID to your account in the current channel.

Usage instructions

Bind your SteamID to your account. If the channel is subscribed, your new match data will be posted automatically. Nicknames containing spaces must be enclosed in double quotes ("").

Usage examples

bind 123456789bind 123456789 Johnbind 123456789 "John Doe"

dota2tracker.unbind

Description

Unbinds your personal information in the current channel.

Usage instructions

Unbind your personal information in the current channel.

Usage examples

unbind

dota2tracker.rename <nick_name>

Description

Changes the nickname set during binding.

Usage instructions

Change the nickname set during binding. Nicknames containing spaces must be enclosed in double quotes ("").

Usage examples

rename Johnrename "John Doe"

dota2tracker.query-members

Description

Queries the players bound in this channel and generates an info image.

Usage instructions

Queries the players bound in this channel and generates an informational image.

Usage examples

query-members

dota2tracker.query-match <match_id>

Description

Query the match data of the specified match ID and generate a picture.

Option parameters

  • --parse
    Whether to wait for match data parsing

Usage instructions

Query the match data of the specified match ID and generate a picture.

Usage examples

query-match 1234567890query-match 1234567890 -pquery-match 1234567890 --parse

dota2tracker.query-recent-match [input_data]

Description

Query the most recent match data and generate a picture.

Option parameters

  • --parse
    Whether to wait for match data parsing

Usage instructions

Query the most recent match data of the specified player and generate a picture. The parameter can be the player's SteamID or the nickname of a player bound in this group. If no parameter is provided, it will try to query the SteamID of the command caller.

Usage examples

query-recent-matchquery-recent-match 123456789query-recent-match Johnquery-recent-match 123456789 -pquery-recent-match John --parse

dota2tracker.query-player <input_data>

Description

Query the player's personal information, optionally specify a hero.

Option parameters

  • --hero
    Query the player's usage of the specified hero (same as querying a hero, can use nickname or ID)

Usage instructions

Query the personal information of the specified player and generate a picture, optionally specify a hero. The parameter can be the player's SteamID or the nickname of a player bound in this group. If no parameter is provided, it will try to query the SteamID of the command caller.

Usage examples

query-playerquery-player 123456789query-player Johnquery-player John --hero Anti-Magequery-player John -o Anti-Mage

dota2tracker.query-hero <input_data>

Description

Query hero skills/stats information.

Option parameters

  • --random
    Randomly select a hero.

Usage instructions

Query the hero's skill descriptions and various stats, generate a picture. The parameter can be the hero's ID, name, or common nickname.

Usage examples

query-hero 15query-hero Razorquery-hero -r

dota2tracker.query-item <input_data>

Description

Query item information

Usage instructions

Query item descriptions and attributes, then generate and publish an image report. Parameters can be item name (supports fuzzy search), item alias, or item ID. You can set the maximum number of items to send per query on the configuration page, as well as whether to send the item list when the limit is exceeded or parameters are not entered.

Usage examples

query-item Vanguard

dota2tracker.hero-of-the-day <input_data>

Description

Get hero recommendations for the day.

Option parameters

  • --days-d
    <number> The range of recent days to consider, default is 30.

Usage instructions

Fetches recent and lifetime match history to recommend heroes based on parameters like wins, performance score, and hot streaks. The parameter can be a player's SteamID or the nickname of a player bound in this group. If no parameter is provided, it will try to look up the command caller's SteamID.

Usage examples

hero-of-the-dayhero-of-the-day -d 60hero-of-the-day 1234567890hero-of-the-day "John Doe"