mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18:28:27 -04:00
Using declarations and other code reformats
This commit is contained in:
@@ -431,10 +431,8 @@ public partial class Utility : NadekoModule
|
||||
return msg;
|
||||
})
|
||||
});
|
||||
await using (var stream = await JsonConvert.SerializeObject(grouping, Formatting.Indented).ToStream().ConfigureAwait(false))
|
||||
{
|
||||
await ctx.User.SendFileAsync(stream, title, title, false).ConfigureAwait(false);
|
||||
}
|
||||
await using var stream = await JsonConvert.SerializeObject(grouping, Formatting.Indented).ToStream().ConfigureAwait(false);
|
||||
await ctx.User.SendFileAsync(stream, title, title, false).ConfigureAwait(false);
|
||||
}
|
||||
private static SemaphoreSlim sem = new(1, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user