Skip to content

Commit ca03d21

Browse files
committed
fix: correct names and URLs for Arma 3 DLC mods
1 parent 720cc08 commit ca03d21

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ministatus/bot/cogs/status/query.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,11 @@ def from_arma3_rules(cls, rules: Arma3Rules) -> Self:
686686
name=m.name,
687687
url=f"https://steamcommunity.com/sharedfiles/filedetails/?id={m.steam_id}",
688688
)
689+
if not m.dlc
690+
else StatusMod(
691+
name=m.name or f"Creator DLC ({m.steam_id})",
692+
url=f"https://store.steampowered.com/app/{m.steam_id}",
693+
)
689694
for m in rules.mods
690695
]
691696
return cls(mods=mods)

0 commit comments

Comments
 (0)