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​
Type | Name | Description |
---|---|---|
System.Action<Discord.StickerProperties> | func | A delegate containing the properties to modify the sticker with. |
Discord.RequestOptions | options | The 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​
Type | Name | Description |
---|---|---|
Discord.RequestOptions | options | The options to be used when sending the request. |