Discore
Show / Hide Table of Contents

Method DeleteGuildIntegration

| Improve this Doc View Source

DeleteGuildIntegration(Snowflake, Snowflake)

Deletes an attached integration from the specified channel.

Requires ManageGuild.

Declaration
public Task DeleteGuildIntegration(Snowflake guildId, Snowflake integrationId)
Parameters
Type Name Description
Snowflake guildId
Snowflake integrationId
Returns
Type Description
Task
Exceptions
Type Condition
DiscordHttpApiException
| Improve this Doc View Source

DeleteGuildIntegration(DiscordIntegration)

Deletes an attached integration from the specified channel.

Requires ManageGuild.

Declaration
public Task DeleteGuildIntegration(DiscordIntegration integration)
Parameters
Type Name Description
DiscordIntegration integration
Returns
Type Description
Task
Exceptions
Type Condition
ArgumentException

Thrown if integration.GuildId is null.

ArgumentNullException
DiscordHttpApiException
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX