mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Add Discord Rich Presence ChatBot integration
- Add DiscordRichPresence NuGet package (v1.143.0)
- Create DiscordRpc.cs ChatBot with configurable presence display
- Wire config in Settings.cs ChatBotConfig class
- Register bot in McClient.cs RegisterBots()
- Add translation strings to Translations.resx and Designer
- Add config comments to ConfigComments.resx and Designer
- Support placeholders: {server_host}, {server_port}, {username},
{health}, {max_health}, {food}, {dimension}, {gamemode},
{x}, {y}, {z}, {player_count}, {protocol}
Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/43388021-4264-47e6-8403-7a1bca66d86f
This commit is contained in:
parent
0a463f2380
commit
a2d032b549
8 changed files with 546 additions and 0 deletions
|
|
@ -1466,6 +1466,13 @@ namespace MinecraftClient
|
|||
ChatBots.ItemsCollector.Config.OnSettingUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
[TomlPrecedingComment("$ChatBot.DiscordRpc$")]
|
||||
public ChatBots.DiscordRpc.Configs DiscordRpc
|
||||
{
|
||||
get { return ChatBots.DiscordRpc.Config; }
|
||||
set { ChatBots.DiscordRpc.Config = value; ChatBots.DiscordRpc.Config.OnSettingUpdate(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue