| @@ -7,7 +7,7 @@ namespace Discord.Rest | |||||
| /// <summary> | /// <summary> | ||||
| /// Represents a thread user received over the REST api. | /// Represents a thread user received over the REST api. | ||||
| /// </summary> | /// </summary> | ||||
| public class RestThreadUser : RestEntity<ulong>, IThreadUser | |||||
| public class RestThreadUser : RestEntity<ulong>, IThreadUser, IMentionable | |||||
| { | { | ||||
| /// <inheritdoc /> | /// <inheritdoc /> | ||||
| public IThreadChannel Thread { get; } | public IThreadChannel Thread { get; } | ||||
| @@ -20,6 +20,9 @@ namespace Discord.Rest | |||||
| /// </summary> | /// </summary> | ||||
| public IGuild Guild { get; } | public IGuild Guild { get; } | ||||
| /// <inheritdoc /> | |||||
| public string Mention => MentionUtils.MentionUser(Id); | |||||
| internal RestThreadUser(BaseDiscordClient discord, IGuild guild, IThreadChannel channel, ulong id) | internal RestThreadUser(BaseDiscordClient discord, IGuild guild, IThreadChannel channel, ulong id) | ||||
| : base(discord, id) | : base(discord, id) | ||||
| { | { | ||||