Skip to content

Passive Message (Query Commands)

You can check the command instructions or invoke command -h in the usage environment for usage methods. Here is a brief introduction to some common commands:

Query Match/Query Recent Match

  • Query Match: Get match data based on the match ID.

  • Query Recent Match: Get recent match data based on player ID or the binding information of the command caller.

    After generating the image using the match template set in Configuration Item: template_match based on the match data, it will be sent.

The Stratz match page link carried in the message can be disabled in Configuration Item: urlinmessagetype.

A
Alice
dota2tracker.query-match 8127571787

or

A
Alice
dota2tracker.query-recent-match
Koishi
Searching for match details, please wait...
Koishi
https://stratz.com/matches/8127571787

The image displayed here is generated by the match_2 template. For template-related information, see Match Information Template.

Query Player

Query the specified SteamID player, generating an image with the player template before sending.

A
Alice
dota2tracker.query-player
Koishi
Retrieving player data, please wait...
Koishi
https://stratz.com/players/**********

To avoid excessive length, the player data in the image has been simplified. For a detailed display of templates, see Player Information Template.

Query Hero

Please refer to Command: Query Hero and Hero Information Template.

Note

Since the data source directly accesses the DOTA2 official API without documentation or specifications, any changes in data structure require substantial effort for adaptation. Feedback on better adaptation solutions or issues encountered during use is welcome.

Query Item

Please refer to Command: Query Item and Item Information Template.

Note the same as for Query Hero.