public GuildSettingsTracker(TrafficRouterBot routerBot, FileHandler fileHandler) { _routerBot = routerBot; _fileHandler = fileHandler; ReadSettingsFromFile(); }
public MessageHandler(TrafficRouterBot routerBot, CommandHandler commandHandler, GuildSettingsTracker settingsTracker) { _routerBot = routerBot; _routerBot.Client.MessageReceived += OnMessageReceived; _commandHandler = commandHandler; _settingsTracker = settingsTracker; }
private static async Task MainAsync() { TrafficRouterBot bot = new TrafficRouterBot(); await bot.InitAsync(); }
public CommandHandler(TrafficRouterBot routerBot, GuildSettingsTracker settingsTracker) { _routerBot = routerBot; _settingsTracker = settingsTracker; }