mirror of https://github.com/oliverbooth/VPLink
fix: fix attachment links (trim final content)
This commit is contained in:
parent
16a0e3dd85
commit
9752fc879b
|
@ -119,6 +119,7 @@ internal sealed partial class DiscordMessageService : BackgroundService, IDiscor
|
||||||
content = $"{content}\n{builder}";
|
content = $"{content}\n{builder}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
content = content.Trim();
|
||||||
_logger.LogInformation("Message by {Author}: {Content}", author, content);
|
_logger.LogInformation("Message by {Author}: {Content}", author, content);
|
||||||
|
|
||||||
Span<byte> buffer = stackalloc byte[255]; // VP message length limit
|
Span<byte> buffer = stackalloc byte[255]; // VP message length limit
|
||||||
|
|
Loading…
Reference in New Issue