(slotId: string, guildId: string | null)
| 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`); |