Method GetIntegrationsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetIntegrationsAsync()
Gets integrations attached to this guild.
public Task<IReadOnlyList<DiscordIntegration>> GetIntegrationsAsync()
Returns
- Task<IReadOnlyList<DiscordIntegration>>
Collection of integrations attached to this guild.
Exceptions
- UnauthorizedException
Thrown when the client does not have the ManageGuild permission.
- NotFoundException
Thrown when the guild does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.