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

Method createGuildStorageJson

components/runtime/src/ts/script.ts:96–101  ·  view source on GitHub ↗

* @deprecated use createStorageJson

(namespace: string)

Source from the content-addressed store, hash-verified

94 * @deprecated use {@link createStorageJson}
95 */
96 createGuildStorageJson<T>(namespace: string) {
97 let bucket = new Storage.JsonBucket<T>(namespace, this.storagePluginId());
98 this.storageBuckets.push(bucket);
99
100 return bucket;
101 }
102
103 /**
104 * Create new json storage buckets for persistent storage

Callers 1

interval.tsFile · 0.80

Calls 1

storagePluginIdMethod · 0.95

Tested by

no test coverage detected