Method RequestAndWaitForSoundboardSoundsAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
RequestAndWaitForSoundboardSoundsAsync(IEnumerable<ulong>)
Requests and waits for guild soundboard sounds.
public Task<IReadOnlyDictionary<ulong, IReadOnlyList<DiscordSoundboardSound>>> RequestAndWaitForSoundboardSoundsAsync(IEnumerable<ulong> guildIds)
Parameters
guildIds
IEnumerable<ulong>The guild ids to request sounds from.
Returns
- Task<IReadOnlyDictionary<ulong, IReadOnlyList<DiscordSoundboardSound>>>
The requested DiscordSoundboardSound's as key-value-pair, where the key is a guild id.