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
DebuggerDisplay fix.
pull/372/head
Sindre G. Langhus
8 years ago
parent
4cb7929735
commit
8cf0911a4b
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Core/Entities/Messages/EmbedImage.cs
+1
-1
src/Discord.Net.Core/Entities/Messages/EmbedThumbnail.cs
+1
-1
src/Discord.Net.Core/Entities/Messages/EmbedVideo.cs
+ 1
- 1
src/Discord.Net.Core/Entities/Messages/EmbedImage.cs
View File
@@ -25,7 +25,7 @@ namespace Discord
model.Width.IsSpecified ? model.Width.Value : (int?)null);
}
private string DebuggerDisplay => $"
(
{Url}
)
{(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}";
private string DebuggerDisplay => $"{Url}
(
{(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}
)
";
public override string ToString() => Url;
}
}
+ 1
- 1
src/Discord.Net.Core/Entities/Messages/EmbedThumbnail.cs
View File
@@ -25,7 +25,7 @@ namespace Discord
model.Width.IsSpecified ? model.Width.Value : (int?)null);
}
private string DebuggerDisplay => $"
(
{Url}
)
{(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}";
private string DebuggerDisplay => $"{Url}
(
{(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}
)
";
public override string ToString() => Url;
}
}
+ 1
- 1
src/Discord.Net.Core/Entities/Messages/EmbedVideo.cs
View File
@@ -23,7 +23,7 @@ namespace Discord
model.Width.IsSpecified ? model.Width.Value : (int?)null);
}
private string DebuggerDisplay => $"
(
{Url}
)
{(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}";
private string DebuggerDisplay => $"{Url}
(
{(Width != null && Height != null ? $"{Width}x{Height}" : "0x0")}
)
";
public override string ToString() => Url;
}
}
Write
Preview
Loading…
Cancel
Save