Method GetAssetsAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetAssetsAsync(bool)
Retrieves this application's assets.
public Task<IReadOnlyList<DiscordApplicationAsset>> GetAssetsAsync(bool updateCache = false)
Parameters
updateCache
boolWhether to always make a REST request and update the cached assets.
Returns
- Task<IReadOnlyList<DiscordApplicationAsset>>
This application's assets.