mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Fixed .exexport, .savechat, and .quoteexport, closes #358
This commit is contained in:
@@ -89,7 +89,7 @@ public static class StringExtensions
|
||||
public static async Task<Stream> ToStream(this string str)
|
||||
{
|
||||
var ms = new MemoryStream();
|
||||
await using var sw = new StreamWriter(ms);
|
||||
var sw = new StreamWriter(ms);
|
||||
await sw.WriteAsync(str);
|
||||
await sw.FlushAsync();
|
||||
ms.Position = 0;
|
||||
|
Reference in New Issue
Block a user