chore: cleanup
This commit is contained in:
12
JOBot.TClient/Commands/Commands/StartCommand.cs
Normal file
12
JOBot.TClient/Commands/Commands/StartCommand.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using JOBot.TClient.Statements;
|
||||
using Telegram.Bot.Types;
|
||||
|
||||
namespace JOBot.TClient.Commands.Commands;
|
||||
|
||||
public class StartCommand(PrepareUserState prepareUserState) : ITelegramCommand
|
||||
{
|
||||
public async Task ExecuteAsync(Update update, CancellationToken ct)
|
||||
{
|
||||
await prepareUserState.TryToPrepareUser(update, ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user