Table of Contents

Method ModifyStickerAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

ModifyStickerAsync(ulong, Action<StickerEditModel>, string?)

Modifies a sticker in this guild.

public Task<DiscordMessageSticker> ModifyStickerAsync(ulong stickerId, Action<StickerEditModel> action, string? reason = null)

Parameters

stickerId ulong

The id of the sticker.

action Action<StickerEditModel>

Action to perform.

reason string

Reason for audit log.

Returns

Task<DiscordMessageSticker>

ModifyStickerAsync(DiscordMessageSticker, Action<StickerEditModel>, string?)

Modifies a sticker in this guild.

public Task<DiscordMessageSticker> ModifyStickerAsync(DiscordMessageSticker sticker, Action<StickerEditModel> action, string? reason = null)

Parameters

sticker DiscordMessageSticker

Sticker to modify.

action Action<StickerEditModel>

Action to perform.

reason string

Reason for audit log.

Returns

Task<DiscordMessageSticker>