MCPcopy Create free account
hub / github.com/Botloader/botloader / get_guild

Method get_guild

components/dbrokerapi/src/state_client.rs:56–62  ·  view source on GitHub ↗
(
        &self,
        guild_id: Id<GuildMarker>,
    )

Source from the content-addressed store, hash-verified

54 }
55
56 pub async fn get_guild(
57 &self,
58 guild_id: Id<GuildMarker>,
59 ) -> ApiResult<Option<crate::models::BrokerGuild>> {
60 self.get_option(format!("{}/guilds/{}", self.server_addr, guild_id))
61 .await
62 }
63
64 pub async fn get_guild_voice_states(
65 &self,

Callers 3

get_full_guildFunction · 0.80
discord_get_guildMethod · 0.80

Calls 1

get_optionMethod · 0.80

Tested by

no test coverage detected