Code Duplication    Length = 7-7 lines in 6 locations

src/plugins/onMessage/about.php 1 location

@@ 55-61 (lines=7) @@
52
     * @param $logger
53
     * @internal param $message
54
     */
55
    function init($config, $discord, $logger)
56
    {
57
        $this->config = $config;
58
        $this->discord = $discord;
59
        $this->logger = $logger;
60
        $this->excludeChannel = $this->config["bot"]["restrictedChannels"];
61
    }
62
63
    /**
64
     *

src/plugins/onMessage/charInfo.php 1 location

@@ 53-59 (lines=7) @@
50
     * @param $discord
51
     * @param $logger
52
     */
53
    function init($config, $discord, $logger)
54
    {
55
        $this->config = $config;
56
        $this->discord = $discord;
57
        $this->logger = $logger;
58
        $this->excludeChannel = $this->config["bot"]["restrictedChannels"];
59
    }
60
61
    /**
62
     *

src/plugins/onMessage/corpInfo.php 1 location

@@ 51-57 (lines=7) @@
48
     * @param $discord
49
     * @param $logger
50
     */
51
    function init($config, $discord, $logger)
52
    {
53
        $this->config = $config;
54
        $this->discord = $discord;
55
        $this->logger = $logger;
56
        $this->excludeChannel = $this->config["bot"]["restrictedChannels"];
57
    }
58
59
    /**
60
     *

src/plugins/onMessage/eveStatus.php 1 location

@@ 51-57 (lines=7) @@
48
     * @param $discord
49
     * @param $logger
50
     */
51
    function init($config, $discord, $logger)
52
    {
53
        $this->config = $config;
54
        $this->discord = $discord;
55
        $this->logger = $logger;
56
        $this->excludeChannel = $this->config["bot"]["restrictedChannels"];
57
    }
58
59
    /**
60
     *

src/plugins/onMessage/help.php 1 location

@@ 51-57 (lines=7) @@
48
     * @param $discord
49
     * @param $logger
50
     */
51
    function init($config, $discord, $logger)
52
    {
53
        $this->config = $config;
54
        $this->discord = $discord;
55
        $this->logger = $logger;
56
        $this->excludeChannel = $this->config["bot"]["restrictedChannels"];
57
    }
58
59
    /**
60
     *

src/plugins/onMessage/time.php 1 location

@@ 52-58 (lines=7) @@
49
     * @param $discord
50
     * @param $logger
51
     */
52
    function init($config, $discord, $logger)
53
    {
54
        $this->config = $config;
55
        $this->discord = $discord;
56
        $this->logger = $logger;
57
        $this->excludeChannel = $this->config["bot"]["restrictedChannels"];
58
    }
59
60
    /**
61
     *