From fc9d58a03c5ec87650f2b302fd14dc0566209b9e Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Mon, 27 Oct 2025 18:38:16 +0100 Subject: [PATCH] modified: app.py modified: emotes.markdown --- app.py | 4 ++++ emotes.markdown | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 0f60a72..e78dcf2 100644 --- a/app.py +++ b/app.py @@ -132,6 +132,7 @@ TEAM_EMOTE_OVERRIDES: Dict[str, str] = { "axis": "<:fascism:1432391685127536762>", "allies": "<:democracy:1432391686612586528>", "comintern": "<:communism:1432391682267025479>", + "cuf": "<:ChineseUnitedFront:1432422469985112156>", "default": "<:neutrality:1432391681059197102>", } @@ -211,6 +212,9 @@ def get_team_emoji(ctx: commands.Context, team_name: str) -> str: return pick(["democracy", "allies", "hoi4_allies"], "allies") if any(k in name for k in ["comintern", "ussr", "soviet"]): return pick(["communism", "comintern", "hoi4_comintern"], "comintern") + # Chinese United Front (optional special case) + if ("chinese united front" in name) or ("chinese" in name and "front" in name) or ("cuf" in name): + return pick(["ChineseUnitedFront", "chineseunitedfront", "cuf"], "cuf") # Default/other custom = find_custom_emoji(ctx, ["neutrality", "hoi4", "hearts_of_iron", "iron"]) diff --git a/emotes.markdown b/emotes.markdown index 6702835..264570a 100644 --- a/emotes.markdown +++ b/emotes.markdown @@ -31,4 +31,5 @@ <:neutrality:1432391681059197102> <:communism:1432391682267025479> <:fascism:1432391685127536762> -<:democracy:1432391686612586528> \ No newline at end of file +<:democracy:1432391686612586528> +<:ChineseUnitedFront:1432422469985112156> \ No newline at end of file