Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cogs/dotastats.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,9 @@ async def player_match_stats(self, steamid, match, inter, description_intro=None
lobby_type = ""

description = (f"{winstatus} a {lobby_type}**{game_mode}** match as {hero_name} in {duration}. "
f"More info at [DotaBuff](https://www.dotabuff.com/matches/{match_id}), "
"More info at "
+ (f"[Windrun](https://www.windrun.io/matches/{match_id}), " if game_mode == "Ability Draft" else "") +
f"[DotaBuff](https://www.dotabuff.com/matches/{match_id}), "
f"[OpenDota](https://www.opendota.com/matches/{match_id}), or "
f"[STRATZ](https://www.stratz.com/match/{match_id})")

Expand Down Expand Up @@ -605,7 +607,9 @@ async def print_match_stats(self, inter, match):

embed = disnake.Embed(color=self.embed_color)
embed.description = (f"This {lobby_type}**{game_mode}** match ended in {duration} \n"
f"More info at [DotaBuff](https://www.dotabuff.com/matches/{match_id}), "
"More info at "
+ (f"[Windrun](https://www.windrun.io/matches/{match_id}), " if game_mode == "Ability Draft" else "") +
f"[DotaBuff](https://www.dotabuff.com/matches/{match_id}), "
f"[OpenDota](https://www.opendota.com/matches/{match_id}), or "
f"[STRATZ](https://www.stratz.com/match/{match_id})")

Expand Down