Updated Code Samples for compatibility with 0.9; fixed events; fixed rST

This commit is contained in:
Christopher F
2016-03-12 14:42:11 -05:00
parent 5a38129c18
commit 9b2be11638
14 changed files with 57 additions and 46 deletions

View File

@@ -1,3 +1,5 @@
/* --- OUTDATED --- */
// Find a User's Channel Permissions
var userChannelPermissions = user.GetPermissions(channel);
@@ -11,4 +13,3 @@ var userPerms = user.GetPermissions(channel);
userPerms.ReadMessageHistory = false;
userPerms.AttachFiles = null;
channel.AddPermissionsRule(user, userPerms);
}