Remove analyzer project & resolve some build warnings (#2905)

* yeet analyzer & analyzer test

* fix test warning

* yeet analyzer from the workflow

* resolve more warnings

* forgot to push
This commit is contained in:
Mihail Gribkov
2024-04-14 00:01:07 +03:00
committed by GitHub
parent 678a080756
commit 7aab36606b
17 changed files with 17 additions and 1083 deletions

View File

@@ -39,8 +39,11 @@ public class InteractionHandler
_handler.InteractionExecuted += HandleInteractionExecute;
}
private async Task LogAsync(LogMessage log)
=> Console.WriteLine(log);
private Task LogAsync(LogMessage log)
{
Console.WriteLine(log);
return Task.CompletedTask;
}
private async Task ReadyAsync()
{
@@ -80,7 +83,7 @@ public class InteractionHandler
}
}
private async Task HandleInteractionExecute(ICommandInfo commandInfo, IInteractionContext context, IResult result)
private Task HandleInteractionExecute(ICommandInfo commandInfo, IInteractionContext context, IResult result)
{
if (!result.IsSuccess)
switch (result.Error)
@@ -91,5 +94,7 @@ public class InteractionHandler
default:
break;
}
return Task.CompletedTask;
}
}