Added Mention.User(GlobalUser)

This commit is contained in:
RogueException
2015-11-22 03:27:07 -04:00
parent 2a48dab18a
commit efb8179f3f

View File

@@ -13,6 +13,9 @@ namespace Discord
/// <summary> Returns the string used to create a user mention. </summary>
public static string User(User user)
=> $"<@{user.Id}>";
/// <summary> Returns the string used to create a user mention. </summary>
public static string User(GlobalUser user)
=> $"<@{user.Id}>";
/// <summary> Returns the string used to create a channel mention. </summary>
public static string Channel(Channel channel)
=> $"<#{channel.Id}>";