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

Method storagePluginId

components/runtime/src/ts/script.ts:81–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 }
80
81 private storagePluginId() {
82 if (this.customStorageScope) {
83 if (this.customStorageScope.kind === "Guild") {
84 return null
85 } else {
86 return this.customStorageScope.pluginId
87 }
88 } else {
89 return this.pluginId
90 }
91 }
92
93 /**
94 * @deprecated use {@link createStorageJson}

Callers 6

createStorageJsonMethod · 0.95
createStorageNumberMethod · 0.95
createStorageVarJsonMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected