feat: allow setting a corresponding text channel for a voice channel

This commit is contained in:
2026-04-17 01:19:09 -04:00
parent 612a696829
commit 62399c2046
4 changed files with 83 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ use twilight_model::{
},
};
use crate::VCs;
use crate::{VCs, track_vcs::GuildVoiceChannelToTextChannel};
mod debug;
mod join;
@@ -31,6 +31,7 @@ pub struct State {
pub discord_bot_owner_user_id: Id<UserMarker>,
pub discord_client: Arc<twilight_http::Client>,
pub discord_user_id: Id<UserMarker>,
pub discord_voice_channel_corresponding_text_channel: Arc<GuildVoiceChannelToTextChannel>,
pub recording_data: Operator,
pub songbird: Arc<Songbird>,
pub user_data: Operator,