Table of Contents

Method DeleteForumPostTag

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DeleteForumPostTag(ulong, string)

Deletes a forum channel tag.

public Task<DiscordChannel> DeleteForumPostTag(ulong id, string reason = null)

Parameters

id ulong

The id of the tag to delete.

reason string

The audit log reason.

Returns

Task<DiscordChannel>

Exceptions

UnauthorizedException

Thrown when the client does not have the ManageChannels permission.

NotFoundException

Thrown when the tag does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.