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

Method updateScriptPlugin

frontend-common/src/api_client.ts:252–254  ·  view source on GitHub ↗
(guildId: string, scriptId: number)

Source from the content-addressed store, hash-verified

250 }
251
252 async updateScriptPlugin(guildId: string, scriptId: number): Promise<ApiResult<ScriptPlugin>> {
253 return await this.post(`/api/guilds/${guildId}/scripts/${scriptId}/update_plugin`);
254 }
255
256 // data should be a FormData, but this wrapper don't have DOM libs
257 async addPluginImage(pluginId: number, data: any) {

Callers 2

updatePluginVersionFunction · 0.80
updatePluginVersionFunction · 0.80

Calls 1

postMethod · 0.95

Tested by

no test coverage detected