diff --git a/src/Discord.Net.Core/Entities/Emotes/Emote.cs b/src/Discord.Net.Core/Entities/Emotes/Emote.cs index 71529732..b55535ba 100644 --- a/src/Discord.Net.Core/Entities/Emotes/Emote.cs +++ b/src/Discord.Net.Core/Entities/Emotes/Emote.cs @@ -31,8 +31,13 @@ namespace Discord /// public string Url => CDN.GetEmojiUrl(Id, Animated); - internal Emote(ulong id, string name, bool animated) + /// + /// Creates a new instance of . + /// + public Emote(ulong id, string name, bool animated = false) { + if (string.IsNullOrWhiteSpace(name)) + throw new ArgumentException("A custom emote must have a name", nameof(name)); Id = id; Name = name; Animated = animated;