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

Method delScript

frontend-common/src/api_client.ts:166–168  ·  view source on GitHub ↗
(guildId: string, id: number)

Source from the content-addressed store, hash-verified

164 }
165
166 async delScript(guildId: string, id: number): Promise<ApiResult<EmptyResponse>> {
167 return await this.delete(`/api/guilds/${guildId}/scripts/${id}`);
168 }
169
170 async reloadGuildVm(guildId: string): Promise<ApiResult<EmptyResponse>> {
171 return await this.post(`/api/guilds/${guildId}/reload_vm`);

Callers 2

delScriptFunction · 0.80
pushSingleChangeMethod · 0.80

Calls 1

deleteMethod · 0.95

Tested by

no test coverage detected