Class EmoteProperties
Provides properties that are used to modify an Emote with the specified changes.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class EmoteProperties : object
Examples
The following example uses ModifyEmoteAsync to apply changes specified in the properties,
await guild.ModifyEmoteAsync(x =>
{
x.Name = "blobo";
});
Properties
| Improve this Doc View SourceName
Gets or sets the name of the Emote.
Declaration
public Optional<string> Name { get; set; }
Property Value
Type | Description |
---|---|
Optional<String> |
Roles
Gets or sets the roles that can access this Emote.
Declaration
public Optional<IEnumerable<IRole>> Roles { get; set; }
Property Value
Type | Description |
---|---|
Optional<IEnumerable<IRole>> |