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
ulongThe id of the sticker.
action
Action<StickerEditModel>Action to perform.
reason
stringReason 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
DiscordMessageStickerSticker to modify.
action
Action<StickerEditModel>Action to perform.
reason
stringReason for audit log.
Returns
- Task<DiscordMessageSticker>