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

Method get_channels

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

Source from the content-addressed store, hash-verified

92 }
93
94 pub async fn get_channels(&self, guild_id: Id<GuildMarker>) -> ApiResult<Vec<Channel>> {
95 self.get_option(format!("{}/guilds/{}/channels", self.server_addr, guild_id))
96 .await
97 .map(|v| v.unwrap_or_default())
98 }
99
100 pub async fn get_role(
101 &self,

Callers 2

get_full_guildFunction · 0.80
op_discord_get_channelsFunction · 0.80

Calls 1

get_optionMethod · 0.80

Tested by

no test coverage detected