Fix bot launch errors
This commit is contained in:
@@ -2,21 +2,16 @@
|
||||
using MediatR;
|
||||
using static Managing.Common.Enums;
|
||||
using Managing.Application.Abstractions;
|
||||
using Managing.Application.ManageBot.Commands;
|
||||
using Managing.Domain.MoneyManagements;
|
||||
|
||||
namespace Managing.Application.ManageBot
|
||||
{
|
||||
public class BackupBotCommandHandler : IRequestHandler<BackupBotCommand, bool>
|
||||
{
|
||||
private readonly IBotFactory _botFactory;
|
||||
private readonly ITaskCache _taskCache;
|
||||
private readonly IMoneyManagementService _moneyManagementService;
|
||||
private readonly IBotService _botService;
|
||||
|
||||
public BackupBotCommandHandler(IBotFactory botFactory, ITaskCache taskCache, IBotService botService)
|
||||
public BackupBotCommandHandler(ITaskCache taskCache, IBotService botService)
|
||||
{
|
||||
_botFactory = botFactory;
|
||||
_taskCache = taskCache;
|
||||
_botService = botService;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using Managing.Application.Abstractions;
|
||||
using Newtonsoft.Json;
|
||||
using System.IO;
|
||||
|
||||
namespace Managing.Application.ManageBot
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user