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
Return a blank array rather than null if DownloadMessages does not have permissions.
pull/12/merge
RogueException
9 years ago
parent
aadaeb556e
commit
c36820f6af
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net/DiscordClient.Messages.cs
+ 1
- 1
src/Discord.Net/DiscordClient.Messages.cs
View File
@@ -251,7 +251,7 @@ namespace Discord
}
}
catch (HttpException ex) when (ex.StatusCode == HttpStatusCode.Forbidden){ } //Bad Permissions
catch (HttpException ex) when (ex.StatusCode == HttpStatusCode.Forbidden){ } //Bad Permissions
}
}
return n
ull
;
return n
ew Message[0]
;
}
}
private Task MessageQueueLoop()
private Task MessageQueueLoop()
Write
Preview
Loading…
Cancel
Save