Exemple #1
0
        public AccountsPlugin(
            ILogger<AccountsPlugin> logger,
            IStarEventManager evtManager,
            StarCommandManager cmdManager,
            ClientConnectEvents connectEvents,
            AccountCommands accountCommands,
            AdminAccountCommands adminCommands
            )
        {
            _logger = logger;
            _eventManager = evtManager;

            _commandManager = cmdManager;
            _connectEvents = connectEvents;
            _accountCommands = accountCommands;
            _adminCommands = adminCommands;
        }
Exemple #2
0
 public ChatEvents(ILogger<ChatEvents> logger, StarCommandManager cmdManager)
 {
     _logger = logger;
     _commandManager = cmdManager;
 }