Table of Contents

Method CreateStickerAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

CreateStickerAsync(string, string, string, Stream, DiscordStickerFormat, string?)

Creates a sticker in this guild. Lottie stickers can only be created on verified and/or partnered servers.

public Task<DiscordMessageSticker> CreateStickerAsync(string name, string description, string tags, Stream imageContents, DiscordStickerFormat format, string? reason = null)

Parameters

name string

The name of the sticker.

description string

The description of the sticker.

tags string

The tags of the sticker. This must be a unicode emoji.

imageContents Stream

The image content of the sticker.

format DiscordStickerFormat

The image format of the sticker.

reason string

The reason this sticker is being created.

Returns

Task<DiscordMessageSticker>