From 27193e4ae86cf7067b15699eec9b1b4eab51a325 Mon Sep 17 00:00:00 2001
From: Still Hsu <341464@gmail.com>
Date: Sun, 7 Oct 2018 15:50:38 +0800
Subject: [PATCH] Add information for IGuildUser
+ Add GetPermission sample
+ Add ModifyAsync remarks
---
src/Discord.Net.Core/Entities/Users/IGuildUser.cs | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/Discord.Net.Core/Entities/Users/IGuildUser.cs b/src/Discord.Net.Core/Entities/Users/IGuildUser.cs
index 5589f7627..c237025d3 100644
--- a/src/Discord.Net.Core/Entities/Users/IGuildUser.cs
+++ b/src/Discord.Net.Core/Entities/Users/IGuildUser.cs
@@ -59,6 +59,14 @@ namespace Discord
///
/// Gets the level permissions granted to this user to a given channel.
///
+ ///
+ /// The following example checks if the current user has the ability to send a message with attachment in
+ /// this channel; if so, uploads a file via .
+ ///
+ /// if (currentUser?.GetPermissions(targetChannel)?.AttachFiles)
+ /// await targetChannel.SendFileAsync("fortnite.png");
+ ///
+ ///
/// The channel to get the permission from.
///
/// A structure representing the permissions that a user has in the
@@ -78,6 +86,10 @@ namespace Discord
///
/// Modifies this user's properties in this guild.
///
+ ///
+ /// This method modifies the current guild user with the specified properties. To see an example of this
+ /// method and what properties are available, please refer to .
+ ///
/// The delegate containing the properties to modify the user with.
/// The options to be used when sending the request.
///