mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Updated editorconfig to (mostly?) require braces around if/else statements, and applied the new formatting rules
This commit is contained in:
@@ -127,7 +127,7 @@ public sealed class AcrophobiaGame : IDisposable
|
||||
|| !_usersWhoVoted.Add(userId))
|
||||
break;
|
||||
++_submissions[toVoteFor];
|
||||
_= Task.Run(() => OnUserVoted(userName));
|
||||
_ = Task.Run(() => OnUserVoted(userName));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@@ -48,7 +48,7 @@ public partial class Games
|
||||
if (msg.Channel.Id != ctx.Channel.Id)
|
||||
return Task.CompletedTask;
|
||||
|
||||
_= Task.Run(async () =>
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user