Table of Contents

Method CreateGuildStickerAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

CreateGuildStickerAsync(ulong, string, string, string, Stream, DiscordStickerFormat, string)

Creates a sticker in a guild.

public Task<DiscordMessageSticker> CreateGuildStickerAsync(ulong guildId, string name, string description, string tags, Stream imageContents, DiscordStickerFormat format, string reason = null)

Parameters

guildId ulong

The ID of the guild.

name string

The name of the sticker.

description string

The description of the sticker.

tags string

The tags of the sticker.

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>