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

Method publishScriptPluginVersion

frontend-common/src/api_client.ts:231–238  ·  view source on GitHub ↗
(pluginId: number, params: {
        source: string,
    })

Source from the content-addressed store, hash-verified

229 }
230
231 async publishScriptPluginVersion(pluginId: number, params: {
232 source: string,
233 }): Promise<ApiResult<{}>> {
234 return await this.post(`/api/user/plugins/${pluginId}/publish_script_version`, {
235 kind: "json",
236 body: { new_source: params.source }
237 });
238 }
239
240 async addPluginToGuild(pluginId: number, guildId: string, params: {
241 auto_update: boolean,

Callers 1

publishFunction · 0.80

Calls 1

postMethod · 0.95

Tested by

no test coverage detected