feat: allow setting a corresponding text channel for a voice channel
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user