Release 1.0.0

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-04 01:49:28 +03:00
1 parent df99b6ea7f
commit d146f11f02
63 files changed
+8331 -2709

No files matched your search

+21
View File
@@ -248,6 +248,15 @@ namespace Echoion::Core
}
});
// Proactive private-message send path (announcements).
musicManager_->setMessageCallback(
[this](uint64_t clientId, const std::string& text) {
if (pluginInterface_) {
[[maybe_unused]] auto r =
pluginInterface_->sendTextMessage(clientId, text);
}
});
// Set up subscription change callback to update whisper list
musicManager_->setSubscriptionChangeCallback(
[this]() { updateWhisperList(); });
@@ -833,8 +842,11 @@ namespace Echoion::Core
// Re-apply network settings to every outbound client (NetworkClient,
// yt-dlp, ffmpeg), not just the HTTP client.
if (musicManager_) {
musicManager_->applyBotConfig(config.bot);
musicManager_->applyFeaturesConfig(config.features);
musicManager_->applyNetworkConfig(config.network);
musicManager_->applyYouTubeConfig(config.youtube);
musicManager_->applySourcesConfig(config.sources);
} else if (networkClient_) {
networkClient_->setProxy(config.network.proxy);
}
@@ -844,6 +856,9 @@ namespace Echoion::Core
.clientId = 0,
.timestamp = std::chrono::system_clock::now()});
eventBus_.publish(
Api::Events::ConfigReloaded{.newConfig = config.bot});
return {};
}
@@ -916,12 +931,18 @@ namespace Echoion::Core
// outbound client (HTTP NetworkClient, yt-dlp, ffmpeg) — not just the
// config copy. Without this the YouTube API kept using the old/no proxy.
if (musicManager_) {
musicManager_->applyBotConfig(config_.bot);
musicManager_->applyFeaturesConfig(config_.features);
musicManager_->applyNetworkConfig(config_.network);
musicManager_->applyYouTubeConfig(config_.youtube);
musicManager_->applySourcesConfig(config_.sources);
} else if (networkClient_) {
networkClient_->setProxy(config_.network.proxy);
}
eventBus_.publish(
Api::Events::ConfigReloaded{.newConfig = config_.bot});
Void::Log::info("Core", "{}", "Configuration reloaded from disk");
return {};
}