Method GetConnectionsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
GetConnectionsAsync()
Gets a list of connections
public Task<IReadOnlyList<DiscordConnection>> GetConnectionsAsync()
Returns
- Task<IReadOnlyList<DiscordConnection>>
Exceptions
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.