Code Duplication    Length = 7-7 lines in 6 locations

src/plugins/onMessage/charInfo.php 1 location

@@ 44-50 (lines=7) @@
41
     * @param $discord
42
     * @param $logger
43
     */
44
    public function init($config, $discord, $logger)
45
    {
46
        $this->config = $config;
47
        $this->discord = $discord;
48
        $this->logger = $logger;
49
        $this->excludeChannel = $this->config['bot']['restrictedChannels'];
50
    }
51
52
    /**
53
     * @param $msgData

src/plugins/onMessage/corpInfo.php 1 location

@@ 42-48 (lines=7) @@
39
     * @param $discord
40
     * @param $logger
41
     */
42
    public function init($config, $discord, $logger)
43
    {
44
        $this->config = $config;
45
        $this->discord = $discord;
46
        $this->logger = $logger;
47
        $this->excludeChannel = $this->config['bot']['restrictedChannels'];
48
    }
49
50
    /**
51
     * @param $msgData

src/plugins/onMessage/about.php 1 location

@@ 43-49 (lines=7) @@
40
     * @param $logger
41
     * @internal param $message
42
     */
43
    public function init($config, $discord, $logger)
44
    {
45
        $this->config = $config;
46
        $this->discord = $discord;
47
        $this->logger = $logger;
48
        $this->excludeChannel = $this->config['bot']['restrictedChannels'];
49
    }
50
51
    /**
52
     * @param $msgData

src/plugins/onMessage/eveStatus.php 1 location

@@ 42-48 (lines=7) @@
39
     * @param $discord
40
     * @param $logger
41
     */
42
    public function init($config, $discord, $logger)
43
    {
44
        $this->config = $config;
45
        $this->discord = $discord;
46
        $this->logger = $logger;
47
        $this->excludeChannel = $this->config['bot']['restrictedChannels'];
48
    }
49
50
    /**
51
     * @param $msgData

src/plugins/onMessage/help.php 1 location

@@ 42-48 (lines=7) @@
39
     * @param $discord
40
     * @param $logger
41
     */
42
    public function init($config, $discord, $logger)
43
    {
44
        $this->config = $config;
45
        $this->discord = $discord;
46
        $this->logger = $logger;
47
        $this->excludeChannel = $this->config['bot']['restrictedChannels'];
48
    }
49
50
    /**
51
     * @param $msgData

src/plugins/onMessage/time.php 1 location

@@ 43-49 (lines=7) @@
40
     * @param $discord
41
     * @param $logger
42
     */
43
    public function init($config, $discord, $logger)
44
    {
45
        $this->config = $config;
46
        $this->discord = $discord;
47
        $this->logger = $logger;
48
        $this->excludeChannel = $this->config['bot']['restrictedChannels'];
49
    }
50
51
    /**
52
     * @param $msgData