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
ulongThe ID of the guild.
name
stringThe name of the sticker.
description
stringThe description of the sticker.
tags
stringThe tags of the sticker.
imageContents
StreamThe image content of the sticker.
format
DiscordStickerFormatThe image format of the sticker.
reason
stringThe reason this sticker is being created.