/// <inheritdoc cref="GuildEmote.ToString" /> public override string ToString() => GuildEmote.ToString();
/// <summary> /// Converts an existing <see cref="GuildEmote"/> to an abstracted <see cref="IGuildEmote"/> value. /// </summary> /// <param name="guildEmote">The existing <see cref="GuildEmote"/> to be abstracted.</param> /// <exception cref="ArgumentNullException">Throws for <paramref name="guildEmote"/>.</exception> /// <returns>An <see cref="IGuildEmote"/> that abstracts <paramref name="guildEmote"/>.</returns> public static IGuildEmote Abstract(this GuildEmote guildEmote) => new GuildEmoteAbstraction(guildEmote);
/// <summary> /// Constructs a new <see cref="GuildEmoteAbstraction"/> around an existing <see cref="Discord.GuildEmote"/>. /// </summary> /// <param name="guildEmote">The existing <see cref="Discord.GuildEmote"/> to be abstracted.</param> /// <exception cref="ArgumentNullException">Throws for <paramref name="guildEmote"/>.</exception> public GuildEmoteAbstraction(GuildEmote guildEmote) : base(guildEmote) { }