libs.commands.results.versus module¶
libs/commands/results/versus.py
- libs.commands.results.versus.aggregation(m)¶
直接対戦結果を集計して返す
- Parameters:
m (MessageParserProtocol) – メッセージデータ
- Return type:
None
- libs.commands.results.versus.tmpl_header(my_name, vs_name)¶
ヘッダテンプレート
- Parameters:
my_name (str) – 自分の名前
vs_name (str) – 相手の名前
- Returns:
出力データ
- Return type:
str
- libs.commands.results.versus.tmpl_vs_table(data)¶
直接対決結果表示テンプレート
- Parameters:
data (dict[Any, Any]) – 結果データ
- Returns:
出力データ
- Return type:
str