Table of Contents

Class EmoteProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Provides properties that are used to modify an Emote with the specified changes.

public class EmoteProperties
Inheritance
EmoteProperties
Inherited Members

Examples

The following example uses ModifyEmoteAsync to apply changes specified in the properties,

await guild.ModifyEmoteAsync(x =>
{
    x.Name = "blobo";
});

Properties

Name

Gets or sets the name of the Emote.

public Optional<string> Name { get; set; }

Property Value

Optional<string>

Roles

Gets or sets the roles that can access this Emote.

public Optional<IEnumerable<IRole>> Roles { get; set; }

Property Value

Optional<IEnumerable<IRole>>

See Also