Brought back Message.IsAuthor

This commit is contained in:
RogueException
2015-12-29 17:17:46 -04:00
parent e083ea1f42
commit abe69cc65a

View File

@@ -198,6 +198,8 @@ namespace Discord
/// <summary> Returns the server containing the channel this message was sent to. </summary>
public Server Server => Channel.Server;
/// <summary> Returns if this message was sent from the logged-in accounts. </summary>
public bool IsAuthor => User.Id == Client.CurrentUser?.Id;
internal Message(ulong id, Channel channel, User user)
{