feat: user consent setting and retrieving (NOTE: does not affect recording yet)
This commit is contained in:
@@ -3,7 +3,10 @@ use std::{fmt::Debug, sync::Arc};
|
||||
use futures::future::BoxFuture;
|
||||
use opendal::Operator;
|
||||
use patricia_tree::StringPatriciaMap;
|
||||
use songbird::{Songbird, driver::{Channels, SampleRate}};
|
||||
use songbird::{
|
||||
Songbird,
|
||||
driver::{Channels, SampleRate},
|
||||
};
|
||||
use tokio_util::sync::CancellationToken;
|
||||
use twilight_model::{
|
||||
application::{command::Command, interaction::Interaction},
|
||||
@@ -13,7 +16,7 @@ use twilight_model::{
|
||||
},
|
||||
};
|
||||
|
||||
use crate::{VCs, track_vcs::GuildVoiceChannelToTextChannel};
|
||||
use crate::{GuildVoiceChannelToTextChannel, UserDataManager, VCs};
|
||||
|
||||
mod debug;
|
||||
mod join;
|
||||
@@ -34,7 +37,7 @@ pub struct State {
|
||||
pub discord_voice_channel_corresponding_text_channel: Arc<GuildVoiceChannelToTextChannel>,
|
||||
pub recording_data: Operator,
|
||||
pub songbird: Arc<Songbird>,
|
||||
pub user_data: Operator,
|
||||
pub user_data_manager: UserDataManager,
|
||||
pub vcs: Arc<VCs>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user