Properties
.settings: GuildSettings
Methods
.clear() → Promise<void>
Remove all key/value pairs from storage for this instance
.get(key: string) → Promise<any>
Get a value from storage for this instance
Parameters:
Name | Type | Description |
---|---|---|
key |
|
The key in storage to get |
.init() → Promise<void>
Initialize this storage instance
.init() → Promise<void>
.keys() → Promise<string[]>
Get the names of all keys in this storage for this instance
.remove(key: string) → Promise<void>
Remove a value from storage for this instance
Parameters:
Name | Type | Description |
---|---|---|
key |
|
The key in storage to remove |
.set(key: string, value: any) → Promise<void>
Set a value in storage for this instance
Parameters:
Name | Type | Description |
---|---|---|
key |
|
The key in storage to set |
value |
|
The value to set |