Task.Delay(0) => Task.CompletedTask (#3049)

This commit is contained in:
Mihail Gribkov
2025-01-08 20:20:49 +03:00
committed by GitHub
parent 35e812253a
commit b5f5df0fde
17 changed files with 22 additions and 22 deletions

View File

@@ -137,6 +137,6 @@ namespace Discord
public sealed class TestModule : ModuleBase
{
[Command("test")]
public Task TestCommand(ArgumentType arg) => Task.Delay(0);
public Task TestCommand(ArgumentType arg) => Task.CompletedTask;
}
}