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

Function pluginImageUrl

frontend/src/misc/pluginImageUrl.ts:3–5  ·  view source on GitHub ↗
(pluginId: number, imageId: string)

Source from the content-addressed store, hash-verified

1import { BuildConfig } from "../BuildConfig";
2
3export function pluginImageUrl(pluginId: number, imageId: string) {
4 return `${BuildConfig.botloaderApiBase}/media/plugins/${pluginId}/images/${imageId}.webp`
5}

Callers 5

PluginIconFunction · 0.90
ShowcaseImagesFunction · 0.90
BannerImageFunction · 0.90
PluginItemFunction · 0.90
ViewPluginFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected