From 8eb2e2008c936a3a383cd476b5ecd265841e3cfc Mon Sep 17 00:00:00 2001 From: kozabrada123 <59031733+kozabrada123@users.noreply.github.com> Date: Fri, 28 Jul 2023 18:57:35 +0200 Subject: [PATCH] Remove the todos from the last commit --- src/api/guilds/guilds.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/api/guilds/guilds.rs b/src/api/guilds/guilds.rs index d4abcab..97286d8 100644 --- a/src/api/guilds/guilds.rs +++ b/src/api/guilds/guilds.rs @@ -65,7 +65,7 @@ impl Guild { Channel::create(user, self.id, schema).await } - // TODO: Docs: What is this endpoint? + /// Returns a list of the guild's channels pub async fn channels(&self, user: &mut UserMeta) -> ChorusResult> { let chorus_request = ChorusRequest { request: Client::new() @@ -96,8 +96,7 @@ impl Guild { }; } - // TODO: Check if these docs are correct, Im not sure what this endpoint is - /// Fetches a given guild. + /// Fetches a guild by its id. pub async fn get(guild_id: Snowflake, user: &mut UserMeta) -> ChorusResult { let chorus_request = ChorusRequest { request: Client::new()