Method GetRpcInfoAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetRpcInfoAsync()
Gets additional information about an application if the user is an bot.
public Task<DiscordRpcApplication?> GetRpcInfoAsync()
Returns
- Task<DiscordRpcApplication>
The rpc info or null
Exceptions
- NotFoundException
Thrown when the application does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.