This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
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
lint: clean up whitespace
pull/1206/head
Chris Johnston
6 years ago
parent
a0e10bbb0f
commit
fefcbe5641
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/Discord.Net.Core/Utils/TokenUtils.cs
+ 3
- 0
src/Discord.Net.Core/Utils/TokenUtils.cs
View File
@@ -28,6 +28,9 @@ namespace Discord
/// </returns>
internal static bool CheckBotTokenValidity(string message)
{
if (string.IsNullOrWhiteSpace(message))
return false;
// split each component of the JWT
var segments = message.Split('.');
Write
Preview
Loading…
Cancel
Save