mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Removed redundant parenthesis
This commit is contained in:
@@ -226,7 +226,7 @@ public sealed class Bot
|
||||
clientReady.TrySetResult(true);
|
||||
try
|
||||
{
|
||||
foreach (var chan in (await Client.GetDMChannelsAsync().ConfigureAwait(false)))
|
||||
foreach (var chan in await Client.GetDMChannelsAsync().ConfigureAwait(false))
|
||||
{
|
||||
await chan.CloseAsync().ConfigureAwait(false);
|
||||
}
|
||||
@@ -281,7 +281,7 @@ public sealed class Bot
|
||||
GuildConfig gc;
|
||||
await using (var uow = _db.GetDbContext())
|
||||
{
|
||||
gc = uow.GuildConfigsForId(arg.Id);
|
||||
gc = uow.GuildConfigsForId(arg.Id, null);
|
||||
}
|
||||
await JoinedGuild.Invoke(gc).ConfigureAwait(false);
|
||||
});
|
||||
|
Reference in New Issue
Block a user