Table of Contents

Method WithSticker

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

WithSticker(DiscordMessageSticker)

Adds a sticker to the message. Sticker must be from current guild.

[Obsolete("Use the features for manipulating multiple stickers instead.", true, DiagnosticId = "DSP1002")]
public DiscordMessageBuilder WithSticker(DiscordMessageSticker sticker)

Parameters

sticker DiscordMessageSticker

The sticker to add.

Returns

DiscordMessageBuilder

The current builder to be chained.