diff --git a/src/api/users/users.rs b/src/api/users/users.rs index 88a68ca..1320546 100644 --- a/src/api/users/users.rs +++ b/src/api/users/users.rs @@ -76,6 +76,23 @@ impl<'a> User<'a> { Err(e) => Err(e), } } + + pub async fn modify( + self, + username: Option<&str>, + avatar: Option<&str>, + bio: Option<&str>, + accent_color: Option, + banner: Option<&str>, + current_password: Option<&str>, + new_password: Option<&str>, + code: Option<&str>, + email: Option<&str>, + discriminator: Option, + ) { + let mut limits = self.limits; + let request = Client::new().patch(format!("{}/users/@me/", self.belongs_to.urls.get_api())); + } } impl Instance {