@sjtdev/koishi-plugin-dota2tracker
Version:
koishi插件-追踪群友的DOTA2对局
804 lines (796 loc) • 156 kB
JavaScript
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __glob = (map) => (path3) => {
var fn = map[path3];
if (fn) return fn();
throw new Error("Module not found in bundle: " + path3);
};
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __export = (target, all) => {
for (var name2 in all)
__defProp(target, name2, { get: all[name2], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/locales/en-US.schema.yml
var require_en_US_schema = __commonJS({
"src/locales/en-US.schema.yml"(exports2, module2) {
module2.exports = { _config: { base: { $desc: "Basic Settings", STRATZ_API_TOKEN: "Required. API TOKEN from stratz.com, available at https://stratz.com/api.", dataParsingTimeoutMinutes: "Time to wait for match data parsing (in minutes). If the data parsing time exceeds the waiting time, the report will be generated directly without waiting for the parsing to complete.", proxyAddress: "Proxy address. Leave blank to disable the proxy." }, message: { $desc: "Message Settings", urlInMessageType: { $desc: "Include links in messages, <br/>please select the message type:", $inner: ["Include stratz match page link in match query and report messages", "Include stratz player page link in player information query messages", "Include Dota Encyclopedia hero page link in hero data query messages"] }, rankBroadSwitch: "Rank change broadcast", rankBroadStar: "Star change broadcast", rankBroadLeader: "Leaderboard rank change broadcast", rankBroadFun: "Fun broadcast template", maxSendItemCount: "Maximum number of item images to send<br/>When exceeded, the following option determines whether to send the item list", showItemListAtTooMuchItems: "Send item list when exceeding max count<br/>Controls whether to send the item list image when search results exceed maxSendItemCount", customItemAlias: { $desc: "Custom item aliases<br/>\nAdd additional aliases when built-in list is insufficient. \nFor widely-used missing aliases, please submit issues/pull requests to the source repository.<br/>\n(Example **Keyword**: Blink Dagger,**Alias**: Blink)", keyword: "Keyword", alias: "Alias" } }, report: { $desc: "Summary Settings", dailyReportSwitch: "Daily Report Function", dailyReportHours: "Daily report time in hours", dailyReportShowCombi: "Show combinations in daily report", weeklyReportSwitch: "Weekly Report Function", weeklyReportDayHours: "Weekly report published on (day) at (hour)", weeklyReportShowCombi: "Show combinations in weekly report" }, template: { $desc: "Template Settings", template_match: "Template used to generate match information images, see https://sjtdev.github.io/koishi-plugin-dota2tracker/template-match.html for template display.", template_player: "Template used to generate player information images. (Currently only one template available)", template_hero: "Template used to generate hero information images. (Currently only one template available)", playerRankEstimate: "Estimate the rank of players without a rank in the player template <br>Estimated rank will be displayed as a gray image", templateFonts: 'Font names used in the template. Requires font files installed on the koishi host machine. \nMultiple fonts can be added; the system will use the first available font from top to bottom. \nIf all fonts are unavailable, falls back to system defaults. \nImportant formatting rules: \n- Enclose font names in quotes (" ") if they contain spaces or special characters (recommended for all font names)\n- Do NOT enclose generic font family names (e.g. sans-serif, monospace) in quotes\nExamples:\n```\n"Microsoft YaHei"\nsans-serif\n```\nFor details on font-family syntax, see:\n[📖 MDN: font-family](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family)' } } };
}
});
// src/locales/zh-CN.schema.yml
var require_zh_CN_schema = __commonJS({
"src/locales/zh-CN.schema.yml"(exports2, module2) {
module2.exports = { _config: { base: { $desc: "基础设置", STRATZ_API_TOKEN: "※必须。stratz.com的API TOKEN,可在 https://stratz.com/api 获取。", dataParsingTimeoutMinutes: "等待比赛数据解析的时间(单位:分钟)。如果数据解析时间超过等待时间,将直接生成战报而不再等待解析完成。", proxyAddress: "代理地址,留空时不使用代理" }, message: { $desc: "消息设置", urlInMessageType: { $desc: "在消息中附带链接,<br/>请选择消息类型:", $inner: ["在查询比赛与战报消息中附带stratz比赛页面链接", "在查询玩家信息消息中附带stratz玩家页面链接", "在查询英雄数据消息中附带刀塔百科对应英雄页面链接"] }, rankBroadSwitch: "段位变动播报", rankBroadStar: "星级变动播报", rankBroadLeader: "冠绝名次变动播报", rankBroadFun: "整活播报模板", maxSendItemCount: "最大发送物品图片数量,<br/> 当超过指定数量时将由下方选项决定是否发送查询结果的物品列表图片", showItemListAtTooMuchItems: "在查询结果的物品数量超过指定数量时,是否发送查询结果的物品列表图片", customItemAlias: { $desc: "额外物品别名设置<br/>当插件内置的[物品别名列表](https://github.com/sjtdev/koishi-plugin-dota2tracker/blob/master/src/locales/zh-CN.constants.json#L304-L407)中没有想要的物品别名可在此处追加,如果是插件疏漏的广为人知的物品别名推荐到源码仓库提交issue或pull request完善列表。<br/>(例如 **关键词**: 闪烁匕首,**别名**: 跳刀)", keyword: "关键词", alias: "别名" } }, report: { $desc: "总结设置", dailyReportSwitch: "日报功能", dailyReportHours: "日报时间小时", dailyReportShowCombi: "日报是否显示组合", weeklyReportSwitch: "周报功能", weeklyReportDayHours: "周报发布于周(几)的(几)点", weeklyReportShowCombi: "周报是否显示组合" }, template: { $desc: "模板设置", template_match: "生成比赛信息图片使用的模板,显示效果见 [📖 文档-模板展示页](https://sjtdev.github.io/koishi-plugin-dota2tracker/template-match.html)。", template_player: "生成玩家信息图片使用的模板。(目前仅有一张模板)", template_hero: "生成英雄信息图片使用的模板。(目前仅有一张模板)", playerRankEstimate: "在player模板中对没有段位的玩家进行段位估算 <br>估算的段位将以灰色图片显示", templateFonts: '模板所使用的字体名。需要 koishi 所在设备安装字体文件。 \n可添加多个字体名,将从上到下回退到第一个可用字体;若所有字体都不可用,则使用系统默认字体。 \n其中字体名若包含空格或特殊字符需要在名称首尾添加引号(此处建议尽量强制使用引号); \n若使用字体族名则必须**不使用引号**,如:\n```\n"Microsoft YaHei"\nsans-serif\n```\n有关font-family的更多信息,请查阅 [📖 MDN: font-family](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family) ' } } };
}
});
// src/locales/en-US.constants.json
var require_en_US_constants = __commonJS({
"src/locales/en-US.constants.json"(exports2, module2) {
module2.exports = {
dota2tracker: {
usage: "DOTA2Bot plugin - provides the functionality to automatically track the latest matches of group members (requires group members to bind), as well as a series of query functions. \n[Localization/dota2tracker](../../locales/dota2tracker) allows customization of hero aliases and position nicknames, etc. \n**For more information, please visit the [plugin homepage](https://sjtdev.github.io/koishi-plugin-dota2tracker/) and [changelog](https://github.com/sjtdev/koishi-plugin-dota2tracker/blob/master/changelog.md).**",
usage_cron: "<p style='color: #FF9800;'> currently does not have<b> cron service </b>enabled, and can only provide query services. <br>If you need to enable active messaging services such as battle report tracking, please restart the plugin after the <b> cron service </b> is configured. </p>",
template: {
game_modes: {
NONE: "None",
ALL_PICK: "All Pick",
CAPTAINS_MODE: "Captains Mode",
RANDOM_DRAFT: "Random Draft",
SINGLE_DRAFT: "Single Draft",
ALL_RANDOM: "All Random",
INTRO: "Intro",
THE_DIRETIDE: "The Diretide",
REVERSE_CAPTAINS_MODE: "Reverse Captains Mode",
THE_GREEVILING: "The Greeviling",
TUTORIAL: "Tutorial",
MID_ONLY: "Mid Only",
LEAST_PLAYED: "Least Played",
NEW_PLAYER_POOL: "New Player Pool",
COMPENDIUM_MATCHMAKING: "Compendium Matchmaking",
CUSTOM: "Custom",
CAPTAINS_DRAFT: "Captains Draft",
BALANCED_DRAFT: "Balanced Draft",
ABILITY_DRAFT: "Ability Draft",
EVENT: "Event",
ALL_RANDOM_DEATH_MATCH: "All Random Death Match",
SOLO_MID: "Solo Mid",
ALL_PICK_RANKED: "All Pick",
TURBO: "Turbo",
MUTATION: "Mutation",
UNKNOWN: "Unknown"
},
lobby_types: {
INVALID: "Invalid",
UNRANKED: "Unranked",
PRACTICE: "Practice",
TOURNAMENT: "Tournament",
TUTORIAL: "Tutorial",
COOP_VS_BOTS: "Coop Vs Bots",
TEAM_MATCH: "Team Match",
SOLO_QUEUE: "Solo Queue",
RANKED: "Ranked",
SOLO_MID: "Solo Mid",
BATTLE_CUP: "Battle Cup",
EVENT: "Event",
NEW_PLAYER_POOL: "New Player Pool"
},
regions: {
"0": "Unknown",
"1": "US West",
"2": "US East",
"3": "Europe West",
"5": "SE Asia",
"6": "Dubai",
"7": "Australia",
"8": "Russia",
"9": "EU East",
"10": "South America",
"11": "South Africa",
"12": "China",
"13": "China",
"14": "Chile",
"15": "Peru",
"16": "India",
"17": "China",
"18": "China",
"19": "Japan",
"20": "China",
"25": "China",
"37": "Taiwan",
"38": "Argentina"
},
ranks: {
"0": "Unknown",
"1": "Herald",
"2": "Guardian",
"3": "Crusader",
"4": "Archon",
"5": "Legend",
"6": "Ancient",
"7": "Divine",
"8": "Immortal"
},
roles: {
"0": "Carry",
"1": "Support",
"2": "Nuker",
"3": "Disabler",
"4": "Jungler",
"5": "Durable",
"6": "Escape",
"7": "Pusher",
"8": "Initiator"
},
hero_names: {
"1": "Anti-Mage",
"2": "Axe",
"3": "Bane",
"4": "Bloodseeker",
"5": "Crystal Maiden",
"6": "Drow Ranger",
"7": "Earthshaker",
"8": "Juggernaut",
"9": "Mirana",
"10": "Morphling",
"11": "Shadow Fiend",
"12": "Phantom Lancer",
"13": "Puck",
"14": "Pudge",
"15": "Razor",
"16": "Sand King",
"17": "Storm Spirit",
"18": "Sven",
"19": "Tiny",
"20": "Vengeful Spirit",
"21": "Windranger",
"22": "Zeus",
"23": "Kunkka",
"25": "Lina",
"26": "Lion",
"27": "Shadow Shaman",
"28": "Slardar",
"29": "Tidehunter",
"30": "Witch Doctor",
"31": "Lich",
"32": "Riki",
"33": "Enigma",
"34": "Tinker",
"35": "Sniper",
"36": "Necrophos",
"37": "Warlock",
"38": "Beastmaster",
"39": "Queen of Pain",
"40": "Venomancer",
"41": "Faceless Void",
"42": "Wraith King",
"43": "Death Prophet",
"44": "Phantom Assassin",
"45": "Pugna",
"46": "Templar Assassin",
"47": "Viper",
"48": "Luna",
"49": "Dragon Knight",
"50": "Dazzle",
"51": "Clockwerk",
"52": "Leshrac",
"53": "Nature's Prophet",
"54": "Lifestealer",
"55": "Dark Seer",
"56": "Clinkz",
"57": "Omniknight",
"58": "Enchantress",
"59": "Huskar",
"60": "Night Stalker",
"61": "Broodmother",
"62": "Bounty Hunter",
"63": "Weaver",
"64": "Jakiro",
"65": "Batrider",
"66": "Chen",
"67": "Spectre",
"68": "Ancient Apparition",
"69": "Doom",
"70": "Ursa",
"71": "Spirit Breaker",
"72": "Gyrocopter",
"73": "Alchemist",
"74": "Invoker",
"75": "Silencer",
"76": "Outworld Devourer",
"77": "Lycan",
"78": "Brewmaster",
"79": "Shadow Demon",
"80": "Lone Druid",
"81": "Chaos Knight",
"82": "Meepo",
"83": "Treant Protector",
"84": "Ogre Magi",
"85": "Undying",
"86": "Rubick",
"87": "Disruptor",
"88": "Nyx Assassin",
"89": "Naga Siren",
"90": "Keeper of the Light",
"91": "Io",
"92": "Visage",
"93": "Slark",
"94": "Medusa",
"95": "Troll Warlord",
"96": "Centaur Warrunner",
"97": "Magnus",
"98": "Timbersaw",
"99": "Bristleback",
"100": "Tusk",
"101": "Skywrath Mage",
"102": "Abaddon",
"103": "Elder Titan",
"104": "Legion Commander",
"105": "Techies",
"106": "Ember Spirit",
"107": "Earth Spirit",
"108": "Underlord",
"109": "Terrorblade",
"110": "Phoenix",
"111": "Oracle",
"112": "Winter Wyvern",
"113": "Arc Warden",
"114": "Monkey King",
"119": "Dark Willow",
"120": "Pangolier",
"121": "Grimstroke",
"123": "Hoodwink",
"126": "Void Spirit",
"128": "Snapfire",
"129": "Mars",
"131": "Ring Master",
"135": "Dawnbreaker",
"136": "Marci",
"137": "Primal Beast",
"138": "Muerta",
"145": "Kez"
},
behavior: {
"Unit Target": "Unit Target",
Channeled: "Channeled",
Hidden: "Hidden",
Passive: "Passive",
"No Target": "No Target",
Autocast: "Autocast",
"Instant Cast": "Instant Cast",
"Point Target": "Point Target",
"Attack Modifier": "Attack Modifier",
AOE: "AOE"
},
target_team: {
Enemy: "Enemy",
Both: "Both",
Friendly: "Friendly"
},
ability: "Ability: ",
affects: "Affects:",
damage_type: "Damage Type: ",
damage_type_Physical: "Physical",
damage_type_Magical: "Magical",
damage_type_Pure: "Pure",
dispellable: "Dispellable: ",
Yes: "Yes",
No: "No",
dispellable_Strong: "Strong Dispels Only",
bkbpierce: "Pierces Debuff Imminity: ",
innate: "Innate",
scepter: "Aghanim's Scepter",
shard: "Aghanim's Shard",
attack: "ATTACK",
defense: "DEFENSE",
mobility: "MOBILITY",
item_token: {
health: "Health",
mana: "Mana",
armor: "Armor",
damage: "Damage",
str: "Strength",
int: "Intelligence",
agi: "Agility",
all: "All Attributes",
primary_attribute: "Primary Attribute",
attack: "Attack Speed",
attack_pct: "Base Attack Speed Percentage",
hp_regen: "Health Regeneration",
lifesteal: "Lifesteal",
mana_regen: "Mana Regeneration",
mana_regen_aura: "Mana Regeneration Aura",
spell_amp: "Spell Damage",
debuff_amp: "Debuff Duration",
move_speed: "Movement Speed",
evasion: "Evasion",
spell_resist: "Magic Resistance",
spell_lifesteal: "Spell Lifesteal",
spell_lifesteal_hero_attacks: "Attacks on Heroes",
spell_lifesteal_hero_spells: "Abilities on Heroes",
spell_lifesteal_creep_attacks: "Attacks on Creeps",
spell_lifesteal_creep_spells: "Abilities on Creeps",
lifesteal_hero_attacks: "Attacks on Heroes",
lifesteal_hero_spells: "Abilities on Heroes",
lifesteal_creep_attacks: "Attacks on Creeps",
lifesteal_creep_spells: "Abilities on Creeps",
selected_attrib: "Selected Attribute",
attack_range: "Attack Range <font color='#7d7d7d'>(Ranged Only)</font>",
attack_range_melee: "Attack Range <font color='#7d7d7d'>(Melee Only)</font>",
attack_range_all: "Attack Range <font color='#7d7d7d'>(Melee & Ranged)</font>",
cast_range: "Cast Range",
status_resist: "Status Resistance",
projectile_speed: "Projectile Speed",
manacost_reduction: "Manacost Reduction",
cooldown_reduction: "Cooldown Reduction",
max_mana_percentage: "Max Mana Bonus",
slow_resistance: "Slow Resistance",
aoe_bonus: "AoE Bonus",
exclusive_movespeed: "Boot Movement Speed",
healing_amp: "Outgoing Heal Amplification"
},
recipe: "Recipe"
}
}
};
}
});
// src/locales/zh-CN.constants.json
var require_zh_CN_constants = __commonJS({
"src/locales/zh-CN.constants.json"(exports2, module2) {
module2.exports = {
dota2tracker: {
usage: "DOTA2Bot插件-提供自动追踪群友的最新对局的功能(需群友绑定),以及一系列查询功能。 \n[本地化/dota2tracker](../../locales/dota2tracker)可以自定义英雄别名和位置代称等文本内容 \n**更多信息请进入[插件主页](https://sjtdev.github.io/koishi-plugin-dota2tracker/)与[更新日志](https://github.com/sjtdev/koishi-plugin-dota2tracker/blob/master/changelog.md)查看。**",
usage_cron: "<p style='color: #FF9800;'>当前未启用<b> cron服务 </b>,仅能提供查询服务。<br>若需开启战报追踪等主动消息服务,请于配置完成 <b> cron服务 </b> 后重启本插件。</p>",
template: {
game_modes: {
NONE: "未知",
ALL_PICK: "全英雄选择",
CAPTAINS_MODE: "队长模式",
RANDOM_DRAFT: "随机征召",
SINGLE_DRAFT: "单一征召",
ALL_RANDOM: "全英雄随机",
INTRO: "",
THE_DIRETIDE: "",
REVERSE_CAPTAINS_MODE: "",
THE_GREEVILING: "",
TUTORIAL: "教程模式",
MID_ONLY: "",
LEAST_PLAYED: "",
NEW_PLAYER_POOL: "",
COMPENDIUM_MATCHMAKING: "",
CUSTOM: "",
CAPTAINS_DRAFT: "",
BALANCED_DRAFT: "",
ABILITY_DRAFT: "",
EVENT: "",
ALL_RANDOM_DEATH_MATCH: "",
SOLO_MID: "",
ALL_PICK_RANKED: "全英雄选择",
TURBO: "加速模式",
MUTATION: "",
UNKNOWN: "未知"
},
lobby_types: {
INVALID: "",
UNRANKED: "非天梯",
PRACTICE: "",
TOURNAMENT: "",
TUTORIAL: "",
COOP_VS_BOTS: "",
TEAM_MATCH: "",
SOLO_QUEUE: "",
RANKED: "天梯比赛",
SOLO_MID: "",
BATTLE_CUP: "",
EVENT: "",
NEW_PLAYER_POOL: ""
},
regions: {
"0": "未知",
"1": "US WEST",
"2": "US EAST",
"3": "EUROPE",
"5": "新加坡",
"6": "DUBAI",
"7": "AUSTRALIA",
"8": "STOCKHOLM",
"9": "AUSTRIA",
"10": "BRAZIL",
"11": "SOUTHAFRICA",
"12": "电信(上海)",
"13": "联通(一)",
"14": "CHILE",
"15": "PERU",
"16": "INDIA",
"17": "电信(广东)",
"18": "电信(浙江)",
"19": "日本",
"20": "电信(华中)",
"25": "联通(二)",
"37": "TAIWAN",
"38": "ARGENTINA"
},
ranks: {
"0": "未知",
"1": "先锋",
"2": "卫士",
"3": "中军",
"4": "统帅",
"5": "传奇",
"6": "万古流芳",
"7": "超凡入圣",
"8": "冠绝一世"
},
roles: {
"0": "核心",
"1": "辅助",
"2": "爆发",
"3": "控制",
"4": "打野",
"5": "耐久",
"6": "逃生",
"7": "推进",
"8": "先手"
},
hero_names: {
"1": "敌法师",
"2": "斧王",
"3": "祸乱之源",
"4": "血魔",
"5": "水晶室女",
"6": "卓尔游侠",
"7": "撼地者",
"8": "主宰",
"9": "米拉娜",
"10": "变体精灵",
"11": "影魔",
"12": "幻影长矛手",
"13": "帕克",
"14": "帕吉",
"15": "雷泽",
"16": "沙王",
"17": "风暴之灵",
"18": "斯温",
"19": "小小",
"20": "复仇之魂",
"21": "风行者",
"22": "宙斯",
"23": "昆卡",
"25": "莉娜",
"26": "莱恩",
"27": "暗影萨满",
"28": "斯拉达",
"29": "潮汐猎人",
"30": "巫医",
"31": "巫妖",
"32": "力丸",
"33": "谜团",
"34": "修补匠",
"35": "狙击手",
"36": "瘟疫法师",
"37": "术士",
"38": "兽王",
"39": "痛苦女王",
"40": "剧毒术士",
"41": "虚空假面",
"42": "冥魂大帝",
"43": "死亡先知",
"44": "幻影刺客",
"45": "帕格纳",
"46": "圣堂刺客",
"47": "冥界亚龙",
"48": "露娜",
"49": "龙骑士",
"50": "戴泽",
"51": "发条技师",
"52": "拉席克",
"53": "先知",
"54": "噬魂鬼",
"55": "黑暗贤者",
"56": "克林克兹",
"57": "全能骑士",
"58": "魅惑魔女",
"59": "哈斯卡",
"60": "暗夜魔王",
"61": "育母蜘蛛",
"62": "赏金猎人",
"63": "编织者",
"64": "杰奇洛",
"65": "蝙蝠骑士",
"66": "陈",
"67": "幽鬼",
"68": "远古冰魄",
"69": "末日使者",
"70": "熊战士",
"71": "裂魂人",
"72": "矮人直升机",
"73": "炼金术士",
"74": "祈求者",
"75": "沉默术士",
"76": "殁境神蚀者",
"77": "狼人",
"78": "酒仙",
"79": "暗影恶魔",
"80": "德鲁伊",
"81": "混沌骑士",
"82": "米波",
"83": "树精卫士",
"84": "食人魔魔法师",
"85": "不朽尸王",
"86": "拉比克",
"87": "干扰者",
"88": "司夜刺客",
"89": "娜迦海妖",
"90": "光之守卫",
"91": "艾欧",
"92": "维萨吉",
"93": "斯拉克",
"94": "美杜莎",
"95": "巨魔战将",
"96": "半人马战行者",
"97": "马格纳斯",
"98": "伐木机",
"99": "钢背兽",
"100": "巨牙海民",
"101": "天怒法师",
"102": "亚巴顿",
"103": "上古巨神",
"104": "军团指挥官",
"105": "工程师",
"106": "灰烬之灵",
"107": "大地之灵",
"108": "孽主",
"109": "恐怖利刃",
"110": "凤凰",
"111": "神谕者",
"112": "寒冬飞龙",
"113": "天穹守望者",
"114": "齐天大圣",
"119": "邪影芳灵",
"120": "石鳞剑士",
"121": "天涯墨客",
"123": "森海飞霞",
"126": "虚无之灵",
"128": "电炎绝手",
"129": "玛尔斯",
"131": "百戏大王",
"135": "破晓辰星",
"136": "玛西",
"137": "獸",
"138": "琼英碧灵",
"145": "凯"
},
behavior: {
"Unit Target": "单位目标",
Channeled: "持续施法",
Hidden: "默认隐藏",
Passive: "被动",
"No Target": "无目标",
Autocast: "自动施法",
"Instant Cast": "即时施法",
"Point Target": "点目标",
"Attack Modifier": "攻击特效",
AOE: "范围生效"
},
target_team: {
Enemy: "敌方单位",
Both: "单位",
Friendly: "友方单位"
},
ability: "技能:",
affects: "影响:",
damage_type: "伤害类型:",
damage_type_Physical: "物理",
damage_type_Magical: "魔法",
damage_type_Pure: "纯粹",
dispellable: "能否驱散:",
Yes: "是",
No: "否",
dispellable_Strong: "仅强驱散",
bkbpierce: "无视减益免疫:",
innate: "先天技能",
scepter: "阿哈利姆神杖",
shard: "阿哈利姆魔晶",
attack: "进攻",
defense: "防守",
mobility: "机动",
item_token: {
health: "生命值",
mana: "魔法值",
armor: "护甲",
damage: "攻击力",
str: "力量",
int: "智力",
agi: "敏捷",
all: "全属性",
primary_attribute: "主属性",
attack: "攻击速度",
attack_pct: "基础攻击速度",
hp_regen: "生命恢复",
lifesteal: "吸血",
mana_regen: "魔法恢复",
mana_regen_aura: "魔法恢复光环",
spell_amp: "技能伤害",
debuff_amp: "负面状态持续时间",
move_speed: "移动速度",
evasion: "闪避",
spell_resist: "魔法抗性",
spell_lifesteal: "技能吸血",
spell_lifesteal_hero_attacks: "对英雄的攻击",
spell_lifesteal_hero_spells: "对英雄的技能",
spell_lifesteal_creep_attacks: "对非英雄的攻击",
spell_lifesteal_creep_spells: "对非英雄的技能",
lifesteal_hero_attacks: "对英雄的攻击",
lifesteal_hero_spells: "对英雄的技能",
lifesteal_creep_attacks: "对非英雄的攻击",
lifesteal_creep_spells: "对非英雄的技能",
selected_attrib: "所选属性",
attack_range: "攻击距离<font color='#7d7d7d'>(仅对远程有效)</font>",
attack_range_melee: "攻击距离<font color='#7d7d7d'>(仅对近战有效)</font>",
attack_range_all: "攻击距离<font color='#7d7d7d'>(近战和远程)</font>",
cast_range: "施法距离",
status_resist: "状态抗性",
projectile_speed: "弹道速度",
manacost_reduction: "魔法消耗降低",
cooldown_reduction: "冷却时间减少",
max_mana_percentage: "额外最大魔法值",
slow_resistance: "减速抗性",
aoe_bonus: "作用范围加成",
exclusive_movespeed: "移动速度加成",
healing_amp: "对外治疗增强"
},
recipe: "图纸"
},
items_alias: {
"3800": ["圣者遗物"],
跳刀: ["闪烁匕首"],
力量跳刀: ["盛势闪光"],
敏捷跳刀: ["迅疾闪光"],
智力跳刀: ["秘奥闪光"],
补刀斧: ["压制之刃"],
仙草: ["仙灵之火"],
仙火: ["仙灵之火"],
魂泪: ["凝魂之露"],
鞋垫: ["风灵之纹"],
银月: ["银月之晶"],
树枝: ["铁树枝干"],
草鞋: ["速度之靴"],
魔棒: ["魔棒", "魔杖"],
大魔棒: ["魔杖"],
绿杖: ["幽魂权杖"],
小蓝: ["净化药水"],
蓝瓶: ["净化药水"],
大药: ["治疗药膏"],
粉: ["显影之尘"],
瓶子: ["魔瓶"],
假眼: ["侦察守卫"],
真眼: ["岗哨守卫"],
吃树: ["树之祭祀"],
TP: ["回城卷轴"],
飞鞋: ["远行鞋"],
相位: ["相位鞋"],
鹰角弓: ["鹰歌弓"],
大斧: ["掠夺者之斧"],
回5: ["治疗指环"],
假腿: ["动力鞋"],
点金: ["迈达斯之手"],
系带: ["怨灵系带"],
挂件: ["空灵挂件"],
骨灰: ["影之灵龛", "魂之灵瓮"],
羊刀: ["邪恶镰刀"],
紫苑: ["紫怨", "血棘"],
大紫怨: ["血棘"],
大紫苑: ["血棘"],
紫怨: ["血棘"],
血辣: ["血棘"],
连击刀: ["回音战刃"],
吹风: ["Eul的神圣法杖", "风之杖"],
大吹风: ["风之杖"],
以太: ["以太透镜"],
推推: ["原力法杖", "飓风长戟"],
推推棒: ["原力法杖", "飓风长戟"],
大推推: ["飓风长戟"],
大根: ["达贡之神力"],
A杖: ["阿哈利姆神杖"],
刷新: ["刷新球"],
强袭: ["强袭胸甲"],
龙心: ["恐鳌之心"],
BKB: ["黑皇杖"],
不朽盾: ["不朽之守护"],
冰甲: ["希瓦的守护"],
莲花: ["清莲宝珠"],
盘子: ["永恒之盘"],
大骨灰: ["魂之灵瓮"],
法式泳衣: ["永世法衣"],
MKB: ["金箍棒"],
大炮: ["代达罗斯之殇"],
晕锤: ["碎颅锤", "深渊之刃"],
分身: ["幻影斧"],
隐刀: ["影刃", "白银之锋"],
大隐刀: ["白银之锋"],
大电锤: ["雷神之锤"],
电锤: ["雷神之锤", "漩涡"],
冰眼: ["斯嘉蒂之眼"],
大支配: ["统御头盔"],
支配: ["统御头盔"],
雷托斯: ["缚灵索"],
暗灭: ["黯灭"],
疯脸: ["疯狂面具"],
散失: ["净魂之刃", "散魂剑"],
大散失: ["散魂剑"],
虚灵刀: ["虚灵之刃"],
魂戒: ["灵魂之戒"],
秘法鞋: ["奥术鞋"],
毒球: ["淬毒之珠"],
减甲球: ["枯萎之珠"],
大毒球: ["腐蚀之球"],
冰球: ["冰霜之珠"],
骗钱刀: ["猎鹰战刃"],
法克: ["法师克星"],
战鼓: ["韧鼓"],
大绿鞋: ["宽容之靴"],
勋章: ["勇气勋章", "炎阳纹章"],
大勋章: ["炎阳纹章"],
雾: ["诡计之雾"],
大鞋: ["卫士胫甲"],
阿托斯: ["阿托斯之棍"],
打野爪: ["寒铁钢爪"],
大晕锤: ["深渊之刃"],
天堂: ["天堂之戟"],
天鹰戒: ["天鹰之戒"],
绿鞋: ["静谧之鞋"],
微光: ["微光披风"],
工资球: ["贤者石"],
推推鞋: ["原力鞋"],
大暗灭: ["寂灭"],
铲子: ["可靠铁铲"]
}
}
};
}
});
// src/locales/en-US.command.yml
var require_en_US_command = __commonJS({
"src/locales/en-US.command.yml"(exports2, module2) {
module2.exports = { commands: { dota2tracker: { subscribe: { description: "After subscribing, players need to bind their Steam ID to this group.", usage: "After subscribing, players need to bind their Steam ID to this group. BOT will subscribe to the new game data of bound players in this group. After the STRATZ game analysis is completed, the game data will be generated into a picture battle report and published to this group.", messages: { subscribe_success: "Subscription successful.", subscribed: "This Channel has been subscribed, no need to subscribe again." } }, unsubscribe: { description: "Unsubscribe from this group.", messages: { unsubscribe_success: "Unsubscription successful.", not_subscribed: "This Channel has not been subscribed yet, so there is no need to unsubscribe." } }, bind: { description: "Bind your SteamID and optionally set a nickname.", usage: "Bind your SteamID to your account. If the group is subscribed, your new match data will be posted in the group in real-time.", examples: 'bind 123456789\nbind 123456789 John\nbind 123456789 "John Doe"', messages: { steam_id_invalid: "Invalid SteamID.", bind_success: "Binding successful,\nID: {userId}\nNickname: {nickName}\nSteamID: {steamId}", bind_failed: "Binding failed, {0}", reason_without_match: "Invalid SteamID or no matches found.", reason_fetch_failed: "Poor network conditions or other reasons prevented the verification of the SteamID. Please try again later.", already_binded: "You are already bound, no need to bind again.\nHere is your personal information:\nID: {userId}\nNickname: {nickName}\nSteamID: {steamId}", nick_name_too_long: "Nickname is too long, please limit it to 20 characters or less. (It can also be left blank)", is_anonymous: 'Please note: Your Steam player data is not public, and you will not be able to use the main functions of the BOT, such as "battle report tracking," "query-recent-match commands," etc.\nIf you need to make data public, please set it to public in the DOTA2 game settings.' } }, unbind: { description: "Unbind your personal information.", messages: { unbind_success: "Unbinding successful.", not_binded: "Not bound, no need to unbind." } }, rename: { description: "Change the nickname set during binding.", examples: 'rename John\nrename "John Doe"', messages: { rename_success: "Rename successful, now you are called {nick_name}.", empty_input: "Please enter your nickname.", not_binded: "Please bind first, you can set a nickname during binding.", nick_name_too_long: "Nickname is too long, please limit it to 20 characters." } }, "query-members": { description: "Query the players bound in this group.", messages: { no_members: "No players bound in this group.", query_failed: "Failed to query group members." } }, "query-match": { description: "Query the match data of the specified match ID and generate a picture.", options: { parse: "Whether to wait for match data parsing" }, examples: "query-match 1234567890\nquery-match 1234567890 -p\nquery-match 1234567890 --parse", messages: { empty_input: "Please enter the match ID.", match_id_invalid: "Invalid match ID.", querying_match: "Searching for match details, please wait...", query_failed: "Failed to get match data.", waiting_for_parse: "Match data has not been parsed yet, a parse request has been sent to the server. The battle report will be sent once parsing is complete or times out." } }, "query-recent-match": { description: "Query the most recent match data and generate a picture.", options: { parse: "Whether to wait for match data parsing" }, usage: "Query the most recent match data of the specified player and generate a picture.\nThe 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.", examples: "query-recent-match\nquery-recent-match 123456789\nquery-recent-match John\nquery-recent-match 123456789 -p\nquery-recent-match John --parse", messages: { not_binded: "By default, it tries to find your information from the bound SteamID players, but it seems you are not bound.\nPlease bind your SteamID in this group. (You can enter [-bind -h] for help)\nOr follow the command with the SteamID or nickname of the player you want to query.", steam_id_invalid: "Invalid SteamID and the player was not found in this group.", querying_match: "Searching for match details, please wait...", query_failed: "Failed to get the player's recent match.", not_in_group: "Command failed.\nCurrently not in a group chat, you must provide the specified player's SteamID.", is_anonymous: "Your player data is not public, and recent match data cannot be obtained.\nIf you need to make data public, please set it to public in the DOTA2 game settings." } }, "query-player": { description: "Query the player's personal information, optionally specify a hero.", options: { hero: "Query the player's usage of the specified hero (same as querying a hero, can use nickname or ID)" }, usage: "Query the personal information of the specified player and generate a picture, optionally specify a hero.\nThe 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.", examples: "query-player\nquery-player 123456789\nquery-player John\nquery-player John --hero Anti-Mage\nquery-player John -o Anti-Mage", messages: { not_binded: "By default, it tries to find your information from the bound SteamID players, but it seems you are not bound.\nPlease bind your SteamID in this group. (You can enter [bind -h] for help)\nOr follow the command with the SteamID or nickname of the player you want to query.", steam_id_invalid: "Invalid SteamID and the player was not found in this group.", querying_player: "Retrieving player data, please wait...", query_failed: "Failed to get player information.", not_in_group: "Command failed.\nCurrently not in a group chat, you must provide the specified player's SteamID." } }, "query-hero": { description: "Query hero skills/stats information.", options: { random: "Randomly select a hero." }, usage: "Query the hero's skill descriptions and various stats, generate a picture.\nThe parameter can be the hero's ID, name, or common nickname.", examples: "query-hero 15\nquery-hero Razor\nquery-hero -r", messages: { not_found: "Hero not found, please confirm and re-enter.", querying_hero: "Retrieving hero data, please wait...", query_failed: "Failed to get hero data.", empty_input: "Please enter a parameter." } }, "query-item": { description: "Query item information", usage: "Query item descriptions and attributes, then generate and publish an image report.\nParameters can be item name (supports fuzzy search), item alias, or item ID.\nYou 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.", examples: "query-item Vanguard", messages: { query_list_failed: "Failed to retrieve item list data", query_item_failed: "Failed to retrieve data for item '{0}'", querying_item: "Querying item data, please wait...", cache_building: "Initializing or rebuilding item cache for the current version, please wait...", empty_input: "No keywords provided. \n{#if show}Displaying full item list per current configuration\n{:else}No content available\n{/if}", not_found: "No items found matching the keywords, please verify and retry", too_many_items: "Found {count} items, exceeding maximum display limit ({max} items)\n{#if show}(Displaying item list){/if}", finded_items: "Matching items: \n{#each items as item}\n{item.name_loc}{#if item !== items[items.length - 1]}, {/if}\n{/each}" } } } } };
}
});
// src/locales/en-US.template.yml
var require_en_US_template = __commonJS({
"src/locales/en-US.template.yml"(exports2, module2) {
module2.exports = { dota2tracker: { template: { radiant: "Radiant", dire: "Dire", won: "Won", lost: "Lost", match_id_: "Match ID: {0}", game_mode_: "Mode: {0}", start_time_: "Start Time: {0}", end_time_: "End Time: {0}", pick_order: "#{0}", random: "R", hero_damage_: "Damage: {0}", building_damage_: "Building: {0}", damage_received_: "Received: {0}", lasthit_: "LastHit: {0}", deny_: "Deny: {0}", "lh/dn_": "LH/DN: {0}", GPM: "GPM", XPM: "XPM", heal_: "Heal: {0}", crowd_control_duration_: "CCD: {0}", "GPM/XPM_": "GPM/XPM: {0}", lane: "Lane", lane_: "Lane: ", lane_advantage: "Lane +", lane_disadvantage: "Lane -", lane_jungle: "Jungle", lane_stomp: "Lane+++", lane_stomped: "Lane---", lane_tie: "Lane ==", analysis_successful: "Analysis successful", analysis_incomplete: "Analysis incomplete", kill: "Kill", kill_contribution_: "KC: {0}", position: "Position", position_: "Position: ", position_1: "Carry", position_2: "Mid", position_3: "OffLane", position_4: "Softsup", position_5: "Hardsup", dire_won: "Dire Won", radiant_won: "Radiant Won", total_damage: "Damage", total_experience: "Exp.", total_gold: "Gold", region_: "Region: {0}", duration_: "Duration: {0}", position_undefined: "?", top10_: "Top 10 Heroes by Matches: ", match_count_: "Matches: ", last25matches_: "Last 25 Matches: ", winrate_: "Winrate: ", imp_: "IMP: ", lane_advantage_rate_: "Lane Advantage Rate: ", hero: "Hero", all_matches_: "All Matches: ", match_count: "Matches", winrate: "Winrate", imp: "IMP", win_count: "Wins", lose_count: "Losses", recently_heroes: "Heroes used more than once recently: ", recently_positions: "Performance in the last 25 matches across all positions: ", winning_streak: "Winning Streak", losing_streak: "Losing Streak", id: "ID", mode: "Mode", kda_kc: "KDA(KC)", time: "Time", duration: "Duration", rank: "Rank", un_parsed: "(Unparsed)", combined_win_loss_summary: "Combined Win/Loss Summary: ", yesterdays_summary: "Yesterday's Summary", last_weeks_summary: "Last Week's Summary", report_won: "W", report_lost: "L", report_winrate: "WR", anonymous_player_1: "This profile is private.", anonymous_player_2: "Background is for display purposes only. It is not {player}’s data.", rank_fun_down_message: "{avatar}<br/>Sad", rank_fun_up_message: "Hip hip hooray! Our awesome member {avatar}{name} has leveled up from {prev} to {curr}!", titles: { MVP: "MVP-#FFA500", Soul: "Soul-#66CCFF", Rich: "R-#FFD700", Wise: "W-#8888FF", Controller: "C-#FF00FF", Nuker: "N-#CC0088", Breaker: "B-#DD0000", Ghost: "G-#CCCCCC", Assister: "A-#006400", Demolisher: "D-#FEDCBA", Healer: "H-#00FF00", Tank: "T-#84A1C7", Idle: "I-#DDDDDD" }, situation: "Situation", networth: "Net Worth", experience: "Experience", OUTCOME_MAP: { RADIANT_VICTORY: "RADIANT VICTORY", RADIANT_STOMP: "RADIANT STOMP", DIRE_VICTORY: "DIRE VICTORY", DIRE_STOMP: "DIRE STOMP", TIE: "TIE" }, lane_top: "Top", lane_mid: "Mid", lane_bottom: "Bottom", empty_extra_info: "No extra info" } } };
}
});
// src/locales/en-US.yml
var require_en_US = __commonJS({
"src/locales/en-US.yml"(exports2, module2) {
module2.exports = { dota2tracker: { heroes_nicknames: { "0": 'Please strictly follow the format of "", "" when filling out, if the format is incorrect, only the default name of the hero will be used. The default name of the hero may be omitted.', "1": '"Anti-Mage"', "2": '"Axe"', "3": '"Bane"', "4": '"Bloodseeker"', "5": '"Crystal Maiden"', "6": '"Drow Ranger"', "7": '"Earthshaker"', "8": '"Juggernaut"', "9": '"Mirana"', "10": '"Morphling"', "11": '"Shadow Fiend"', "12": '"Phantom Lancer"', "13": '"Puck"', "14": '"Pudge"', "15": '"Razor"', "16": '"Sand King"', "17": '"Storm Spirit"', "18": '"Sven"', "19": '"Tiny"', "20": '"Vengeful Spirit"', "21": '"Windranger"', "22": '"Zeus"', "23": '"Kunkka"', "25": '"Lina"', "26": '"Lion"', "27": '"Shadow Shaman"', "28": '"Slardar"', "29": '"Tidehunter"', "30": '"Witch Doctor"', "31": '"Lich"', "32": '"Riki"', "33": '"Enigma"', "34": '"Tinker"', "35": '"Sniper"', "36": '"Necrophos"', "37": '"Warlock"', "38": '"Beastmaster"', "39": '"Queen of Pain"', "40": '"Venomancer"', "41": '"Faceless Void"', "42": '"Wraith King"', "43": '"Death Prophet"', "44": '"Phantom Assassin"', "45": '"Pugna"', "46": '"Templar Assassin"', "47": '"Viper"', "48": '"Luna"', "49": '"Dragon Knight"', "50": '"Dazzle"', "51": '"Clockwerk"', "52": '"Leshrac"', "53": `"Nature's Prophet"`, "54": '"Lifestealer"', "55": '"Dark Seer"', "56": '"Clinkz"', "57": '"Omniknight"', "58": '"Enchantress"', "59": '"Huskar"', "60": '"Night Stalker"', "61": '"Broodmother"', "62": '"Bounty Hunter"', "63": '"Weaver"', "64": '"Jakiro"', "65": '"Batrider"', "66": '"Chen"', "67": '"Spectre"', "68": '"Ancient Apparition"', "69": '"Doom"', "70": '"Ursa"', "71": '"Spirit Breaker"', "72": '"Gyrocopter"', "73": '"Alchemist"', "74": '"Invoker"', "75": '"Silencer"', "76": '"Outworld Devourer"', "77": '"Lycan"', "78": '"Brewmaster"', "79": '"Shadow Demon"', "80": '"Lone Druid"', "81": '"Chaos Knight"', "82": '"Meepo"', "83": '"Treant Protector"', "84": '"Ogre Magi"', "85": '"Undying"', "86": '"Rubick"', "87": '"Disruptor"', "88": '"Nyx Assassin"', "89": '"Naga Siren"', "90": '"Keeper of the Light"', "91": '"Io"', "92": '"Visage"', "93": '"Slark"', "94": '"Medusa"', "95": '"Troll Warlord"', "96": '"Centaur Warrunner"', "97": '"Magnus"', "98": '"Timbersaw"', "99": '"Bristleback"', "100": '"Tusk"', "101": '"Skywrath Mage"', "102": '"Abaddon"', "103": '"Elder Titan"', "104": '"Legion Commander"', "105": '"Techies"', "106": '"Ember Spirit"', "107": '"Earth Spirit"', "108": '"Underlord"', "109": '"Terrorblade"', "110": '"Phoenix"', "111": '"Oracle"', "112": '"Winter Wyvern"', "113": '"Arc Warden"', "114": '"Monkey King"', "119": '"Dark Willow"', "120": '"Pangolier"', "121": '"Grimstroke"', "123": '"Hoodwink"', "126": '"Void Spirit"', "128": '"Snapfire"', "129": '"Mars"', "131": '"Ring Master"', "135": '"Dawnbreaker"', "136": '"Marci"', "137": '"Primal Beast"', "138": '"Muerta"', "145": '"Kez"' }, broadcast: { WIN_NEGATIVE: `"Won the match by sheer luck", "Won the match by a stroke of bad luck", "Coasted to victory", "Didn't even show up for the team fight, but my teammates won 4v5"`, WIN_POSITIVE: '"Led the team to victory", "Dominated the opponents and secured the win", "Carried the game to victory", "Treated the opponents like pigs and won", "Won again; this game is just so monotonous and dull", "Simply achieved a win in the match"', LOSE_NEGATIVE: '"Got crushed and lost the match", "Lost the match miserably", "Got my head knocked sideways and lost the match with a blown mindset", "Went fishing but got eaten by the fish, lost the match", "Played terribly", "Simply suffered a loss in the match"', LOSE_POSITIVE: `"Lost the match with no way to turn it around", "Gave it my all, but still lost the match", "Though we lost, we still have honor", "Couldn't carry my teammates, lost the match", "Lost again, it hurts; I'd rather it be me losing"`, message: "{name}'s {hero_name} {comment}.\nKDA: {kda}, GPM/XPM: {gpm_xpm}, Last Hits/Denies: {lh_dn}, Damage/Tower Damage: {damage}, Kill/Death Contribution Rate: {kc_dc}", rank_changed: "Player {name} rank changed: {prev.medal} {prev.star} → {curr.medal} {curr.star}" }, logger: { fetch_guilds_failed: "Failed to fetch guild information.", match_tracked: "Tracked the latest unreported match {match.id} from group {#each messageToLogger as item}{item.platform}:{item.guildId} for users [{#each item.players as player}{player.nickName}({player.steamId}){#if player === item.players[item.players.length - 1]}{/if}{#if player !== item.players[item.players.length - 1]} and {/if}{/each}]{#if item !== messageToLogger[messageToLogger.length - 1]}, {/if}{/each}.", parse_request_sent: "The parsing request for match {matchId} has been successfully sent to the STRATZ server.", parse_request_failed: "The parsing request for match {matchId} failed to send.", match_parsed: "Match {matchId} has been parsed, an image was generated and published to {#each guilds as guild}{guild.platform}:{guild.guildId}{#if guild !== guilds[guilds.length - 1]}, {/if}{/each}.", match_unparsed: "Match {matchId} exceeded the waiting time [{timeout}] and remains unparsed, an image was generated and published to {#each guilds as guild}{guild.platform}:{guild.guildId}{#if guild !== guilds[guilds.length - 1]}, {/if}{/each}.", waiting_for_parse: "Match {matchId} is still being parsed, continue waiting.", report_sent: "Posted {title} on {platform}:{guildId}.", rank_sent: "Posted rank change information of {player.nickName} ({player.steamId}) on {platform}:{guildId}.", ejs_error: "Error rendering EJS template: {error}", cron_not_enabled: "Cron service is not enabled; match report tracking cannot run." } } };
}
});
// src/locales/zh-CN.command.yml
var require_zh_CN_command = __commonJS({
"src/locales/zh-CN.command.yml"(exports2, module2) {
module2.exports = { commands: { dota2tracker: { subscribe: { description: "订阅本群。", usage: "订阅后还需玩家在本群绑定SteamID,BOT将订阅本群中已绑定玩家的新比赛数据,在STRATZ比赛解析完成后将比赛数据生成为图片战报发布至本群中。", messages: { subscribed: "本群已订阅,无需重复订阅。", subscribe_success: "订阅成功。" } }, unsubscribe: { description: "取消订阅本群。", messages: { unsubscribe_success: "取消订阅成功。", not_subscribed: "本群尚未订阅,无需取消订阅。" } }, bind: { description: "绑定SteamID,并起一个别名(也可以不起)。", usage: "将你的SteamID与你的账号绑定,若本群已订阅将会实时获取你的新比赛数据发布至群中。", examples: '绑定 123456789\n绑定 123456789 张三\n绑定 123456789 "张 三"', messages: { steam_id_invalid: "SteamID无效。", bind_success: "绑定成功,\nID:{userId}\n别名:{nickName}\nSteamID:{steamId}", bind_failed: "绑定失败,{0}", reason_without_match: "SteamID无效或无任何场次。", reason_fetch_failed: "网络状况不佳或其他原因无法验证SteamID,请稍后重试。", already_binded: "你已绑定,无需重复绑定。\n以下是你的个人信息:\nID:{userId}\n别名:{nickName}\nSteamID:{steamId}", nick_name_too_long: "别名过长,请限制在20个字符以内。(也可以留空)", is_anonymous: "请注意:你的Steam玩家数据并未公开,将无法使用BOT的主要功能,如“战报追踪”、“查询最近指令”等。\n如需公开数据,请在DOTA2游戏内设置中公开。" } }, unbind: { description: "取消绑定你的个人信息。", messages: { unbind_success: "取消绑定成功。", not_binded: "尚未绑定,无需取消绑定。" } }, rename: { description: "修改绑定时设定的别名。", examples: '改名 李四\n改名 "李 四"', messages: { rename_success: "改名成功,现在你叫{nick_name}了。", empty_input: "请输入你的别名。", not_binded: "请先绑定,绑定时即可设定别名。", nick_name_too_long: "别名过长,请限制在20个字符以内。" } }, "query-members": { description: "查询本群已绑定的玩家。", messages: { no_members: "本群尚无绑定玩家。", query_failed: "查询群友失败。" } }, "query-match": { description: "查询指定比赛ID的比赛数据,生成图片发布。", options: { parse: "-p 是否等待解析比赛数据" }, examples: "查询比赛 1234567890\n查询比赛 1234567890 -p\n查询比赛 1234567890 --parse", messages: { empty_input: "请输入比赛ID。", match_id_invalid: "比赛ID无效。", querying_match: "正在搜索对局详情,请稍后……", query_failed: "获取比赛数据失败。", waiting_for_parse: "比赛数据尚未解析,已发送解析请求到服务器,战报将在解析完成或超时后发送。" } }, "query-recent-match": { description: "查询最近的比赛数据,生成图片发布。", options: { parse: "-p 是否等待解析比赛数据" }, usage: "查询指定玩家的最近一场比赛的比赛数据,生成图片发布。\n参数可输入该玩家的SteamID或已在本群绑定玩家的别名,无参数时尝试查询调用指令玩家的SteamID。", examples: "查询最近比赛\n查询最近比赛 123456789\n查询最近比赛 张三\n查询最近比赛 123456789 -p\n查询最近比赛 张三 --parse", messages: { not_binded: "无参数时默认从已绑定SteamID玩家中寻找你的信息,但你似乎并没有绑定。\n请在本群绑定SteamID。(可输入【绑定 -h】获取帮助)\n或在指令后跟上希望查询的SteamID或已绑定玩家的别名。", steam_id_invalid: "SteamID无效并且未在本群找到此玩家。", querying_match: "正在搜索对局详情,请稍后……", query_failed: "获取玩家最近比赛失败。", not_in_group: "指令调用失败。\n当前不属于群聊状态,必须提供指定玩家的SteamID。", is_anonymous: "你的比赛数据未公开,无法获取最近比赛数据。\n如需公开数据,请在DOTA2游戏内设置中公开。" } }, "query-player": { description: "查询玩家的个人信息,可指定英雄。", options: { hero: "-o 查询玩家指定英雄使用情况(同查询英雄,可用别名或ID)" }, usage: "查询指定玩家的个人信息,生成图片发布,可指定英雄。\n参数可输入该玩家的SteamID或已在本群绑定玩家的别名,无参数时尝试查询调用指令玩家的SteamID。", examples: "查询玩家\n查询玩家 123456789\n查询玩家 张三\n查询玩家 张三 --hero 敌法师\n查询玩家 张三 -o 15", messages: { not_binded: "无参数时默认从已绑定SteamID玩家中寻找你的信息,但你似乎并没有绑定。\n请在本群绑定SteamID。(可输入【绑定 -h】获取帮助)\n或在指令后跟上希望查询的SteamID或已绑定玩家的别名。", steam_id_invalid: "SteamID无效并且未在本群找到此玩家。", querying_player: "正在获取玩家数据,请稍后……", query_failed: "获取玩家信息失败。", not_in_group: "指令调用失败。\n当前不属于群聊状态,必须提供指定玩家的SteamID。" } }, "query-hero": { description: "查询英雄技能/面板信息。", options: { random: "-r 随机选择英雄" }, usage: "查询英雄的技能说明与各项数据,生成图片发布。\n参数可输入英雄ID、英雄名、英雄常用别名。", examples: "查询英雄 15\n查询英雄 雷泽\n查询英雄 电魂", messages: { not_found: "未找到输入的英雄,请确认后重新输入。", querying_hero: "正在获取英雄数据,请稍后……", query_fail