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

Method getNews

frontend-common/src/api_client.ts:178–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 async getNews(): Promise<ApiResult<NewsItem[]>> {
179 return await this.get(`/api/news`);
180 }
181
182 async getGuildPremiumSlots(guildId: string): Promise<ApiResult<GuildPremiumSlot[]>> {
183 return await this.get(`/api/guilds/${guildId}/premium_slots`);

Callers 2

fetchNewsFunction · 0.80
fetchNewsFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected