Skip to main content

Interface ICustomSticker

Represents a custom sticker within a guild.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface ICustomSticker : ISticker, IStickerItem

Properties​

AuthorId​

Gets the users id who uploaded the sticker.

View Source​
Declaration
ulong? AuthorId { get; }

Guild​

Gets the guild that this custom sticker is in.

View Source​
Declaration
IGuild Guild { get; }

Methods​

ModifyAsync(Action<StickerProperties>, RequestOptions)​

Modifies this sticker.

View Source​
Declaration
Task ModifyAsync(Action<StickerProperties> func, RequestOptions options = null)
Returns​

System.Threading.Tasks.Task: A task that represents the asynchronous modification operation.

Parameters​
TypeNameDescription
System.Action<Discord.StickerProperties>funcA delegate containing the properties to modify the sticker with.
Discord.RequestOptionsoptionsThe options to be used when sending the request.

DeleteAsync(RequestOptions)​

Deletes the current sticker.

View Source​
Declaration
Task DeleteAsync(RequestOptions options = null)
Returns​

System.Threading.Tasks.Task: A task that represents the asynchronous deletion operation.

Parameters​
TypeNameDescription
Discord.RequestOptionsoptionsThe options to be used when sending the request.