[News] Add UIScript visitDiscord
This commit is contained in:
parent
2594f3fdf8
commit
8e69de5083
@ -212,6 +212,11 @@ namespace Components
|
|||||||
Utils::OpenUrl(Utils::Cache::GetStaticUrl("/wiki/"));
|
Utils::OpenUrl(Utils::Cache::GetStaticUrl("/wiki/"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
UIScript::Add("visitDiscord", [](UIScript::Token)
|
||||||
|
{
|
||||||
|
Utils::OpenUrl("https://discord.gg/dtQNP4N");
|
||||||
|
});
|
||||||
|
|
||||||
Localization::Set("MPUI_CHANGELOG_TEXT", "Loading...");
|
Localization::Set("MPUI_CHANGELOG_TEXT", "Loading...");
|
||||||
Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFAULT);
|
Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFAULT);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user