Update DiscordExtensions.cs
This commit is contained in:
parent
1b2fc0f3b9
commit
293ccd8c52
1 changed files with 2 additions and 2 deletions
|
|
@ -185,7 +185,7 @@ public static class DiscordExtensions
|
||||||
|
|
||||||
return $"<discord-attachment slot=\"attachments\" " +
|
return $"<discord-attachment slot=\"attachments\" " +
|
||||||
$"type=\"{type}\" " +
|
$"type=\"{type}\" " +
|
||||||
$"url=\"{Sanitize(x.Url)}\" " +
|
$"url=\"{Sanitize(x.Url.ToString())}\" " +
|
||||||
$"alt=\"{Sanitize(alt)}\" " +
|
$"alt=\"{Sanitize(alt)}\" " +
|
||||||
$"size=\"{x.FileSize.Value.FileSizeToHumanReadable()}\" " +
|
$"size=\"{x.FileSize.Value.FileSizeToHumanReadable()}\" " +
|
||||||
$"height=\"{x.Height}\" " +
|
$"height=\"{x.Height}\" " +
|
||||||
|
|
@ -225,7 +225,7 @@ public static class DiscordExtensions
|
||||||
|
|
||||||
return $"<discord-attachment slot=\"attachments\" " +
|
return $"<discord-attachment slot=\"attachments\" " +
|
||||||
$"type=\"{type}\" " +
|
$"type=\"{type}\" " +
|
||||||
$"url=\"{Sanitize(x.Url)}\" " +
|
$"url=\"{Sanitize(x.Url.ToString())}\" " +
|
||||||
$"alt=\"{Sanitize(alt)}\" " +
|
$"alt=\"{Sanitize(alt)}\" " +
|
||||||
$"height=\"160\" " +
|
$"height=\"160\" " +
|
||||||
$"width=\"160\"/>";
|
$"width=\"160\"/>";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue