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

Method updatePremiumSlotGuild

frontend-common/src/api_client.ts:126–131  ·  view source on GitHub ↗
(slotId: string, guildId: string | null)

Source from the content-addressed store, hash-verified

124 return await this.get("/api/premium_slots");
125 }
126 async updatePremiumSlotGuild(slotId: string, guildId: string | null): Promise<ApiResult<PremiumSlot>> {
127 return await this.post(`/api/premium_slots/${slotId}/update_guild`, {
128 kind: "json",
129 body: { guild_id: guildId }
130 });
131 }
132
133 async getFullDiscordGuild(guildId: string): Promise<ApiResult<FullGuild>> {
134 return await this.get(`/api/guilds/${guildId}/full_guild`);

Callers 1

saveNewServerFunction · 0.80

Calls 1

postMethod · 0.95

Tested by

no test coverage detected