feat: add connected_accounts to UserProfile

This commit is contained in:
kozabrada123 2024-08-13 08:48:13 +02:00
parent a1caa38bfd
commit f966a787d9
1 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,7 @@ use crate::gateway::GatewayHandle;
#[cfg(feature = "client")]
use chorus_macros::{Composite, Updateable};
use super::{Emoji, GuildMember};
use super::{Emoji, GuildMember, PublicConnection};
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Default)]
#[cfg_attr(feature = "sqlx", derive(sqlx::Type))]
@ -304,8 +304,10 @@ pub struct UserProfile {
pub mutual_friends_count: Option<u32>,
// TODO: Add connections!
// TODO: And application role connections!
pub connected_accounts: Vec<PublicConnection>,
// TODO: Add application role connections!
/// The type of premium (Nitro) a user has
pub premium_type: Option<PremiumType>,
/// The date the user's premium (Nitro) subscribtion started