chore: refactor into a RecordingDataManager, lay the ground work for a RenderManager

This commit is contained in:
2026-05-27 01:28:47 -04:00
parent f86c094dda
commit e72633f26a
22 changed files with 830 additions and 49 deletions

View File

@@ -169,7 +169,8 @@ async fn get_heat(
}
}
let bot_owner_might_be_listening = bot_owner.is_some_and(|user_data| matches!(user_data.headphone, Headphone::Undeafened));
let bot_owner_might_be_listening =
bot_owner.is_some_and(|user_data| matches!(user_data.headphone, Headphone::Undeafened));
if bot_owner_might_be_listening {
heat = heat.min(999);
@@ -325,7 +326,7 @@ async fn follow_hottest_vc(
.audio_channels(state.audio_channels)
.audio_sample_rate(state.audio_sample_rate)
.guild_id(guild_id)
.recording_data(state.recording_data.clone())
.recording_data_manager(state.recording_data_manager.clone())
.songbird(&state.songbird)
.user_data_manager(state.user_data_manager.clone())
.voice_channel_id(hottest_vc)