chore: rename data managers to just managers

This commit is contained in:
2026-05-28 00:50:20 -04:00
parent b5a56b1273
commit 862a333131
21 changed files with 82 additions and 82 deletions

View File

@@ -88,7 +88,7 @@ pub async fn handle(state: State, interaction: Interaction) {
if is_bot_owner {
let heat_script_description = state
.bot_data_manager
.bot_manager
.with(|bot_data| {
let heat_script_option = bot_data.has_heat_script().then(|| {
bot_data
@@ -118,11 +118,11 @@ pub async fn handle(state: State, interaction: Interaction) {
.await
.expect("TODO");
let mut user_id_stream = state.user_data_manager.list().await.expect("TODO");
let mut user_id_stream = state.user_manager.list().await.expect("TODO");
while let Some(user_id) = user_id_stream.try_next().await.expect("TODO") {
let (consent, notification_script) = state
.user_data_manager
.user_manager
.with(user_id, |user_data| {
let consent = user_data.get_voice_recording_consent().unwrap();
let notification_script = user_data.has_notification_script().then_some(