This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fixed error in Server-level permission resolving
pull/17/head
RogueException
9 years ago
parent
82746e9207
commit
47773086f9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net/Models/Server.cs
+ 1
- 1
src/Discord.Net/Models/Server.cs
View File
@@ -283,7 +283,7 @@ namespace Discord
newPermissions = ServerPermissions.All.RawValue;
else
{
var roles = Roles;
var roles =
user.
Roles;
foreach (var serverRole in roles)
newPermissions |= serverRole.Permissions.RawValue;
}
Write
Preview
Loading…
Cancel
Save