Code Duplication    Length = 15-15 lines in 17 locations

src/Plugins/onMessage/about.php 1 location

@@ 68-82 (lines=15) @@
65
     */
66
    private $extras;
67
68
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
69
    {
70
        $this->message = $message;
71
        $this->discord = $discord;
72
        $this->channelConfig = $channelConfig;
73
        $this->log = $log;
74
        $this->config = $config;
75
        $this->db = $db;
76
        $this->curl = $curl;
77
        $this->settings = $settings;
78
        $this->permissions = $permissions;
79
        $this->serverConfig = $serverConfig;
80
        $this->users = $users;
81
        $this->extras = $extras;
82
    }
83
84
    public function run()
85
    {

src/Plugins/onMessage/auth.php 1 location

@@ 69-83 (lines=15) @@
66
     */
67
    private $extras;
68
69
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
70
    {
71
        $this->message = $message;
72
        $this->discord = $discord;
73
        $this->channelConfig = $channelConfig;
74
        $this->log = $log;
75
        $this->config = $config;
76
        $this->db = $db;
77
        $this->curl = $curl;
78
        $this->settings = $settings;
79
        $this->permissions = $permissions;
80
        $this->serverConfig = $serverConfig;
81
        $this->users = $users;
82
        $this->extras = $extras;
83
    }
84
85
    public function run()
86
    {

src/Plugins/onMessage/char.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/coinflip.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/config.php 1 location

@@ 66-80 (lines=15) @@
63
     */
64
    private $extras;
65
66
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
67
    {
68
        $this->message = $message;
69
        $this->discord = $discord;
70
        $this->channelConfig = $channelConfig;
71
        $this->log = $log;
72
        $this->config = $config;
73
        $this->db = $db;
74
        $this->curl = $curl;
75
        $this->settings = $settings;
76
        $this->permissions = $permissions;
77
        $this->serverConfig = $serverConfig;
78
        $this->users = $users;
79
        $this->extras = $extras;
80
    }
81
82
    public function run()
83
    {

src/Plugins/onMessage/corp.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/eightball.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/guilds.php 1 location

@@ 68-82 (lines=15) @@
65
     */
66
    private $extras;
67
68
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
69
    {
70
        $this->message = $message;
71
        $this->discord = $discord;
72
        $this->channelConfig = $channelConfig;
73
        $this->log = $log;
74
        $this->config = $config;
75
        $this->db = $db;
76
        $this->curl = $curl;
77
        $this->settings = $settings;
78
        $this->permissions = $permissions;
79
        $this->serverConfig = $serverConfig;
80
        $this->users = $users;
81
        $this->extras = $extras;
82
    }
83
84
    public function run()
85
    {

src/Plugins/onMessage/join.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/meme.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/memory.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/pc.php 1 location

@@ 68-82 (lines=15) @@
65
     */
66
    private $extras;
67
68
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
69
    {
70
        $this->message = $message;
71
        $this->discord = $discord;
72
        $this->channelConfig = $channelConfig;
73
        $this->log = $log;
74
        $this->config = $config;
75
        $this->db = $db;
76
        $this->curl = $curl;
77
        $this->settings = $settings;
78
        $this->permissions = $permissions;
79
        $this->serverConfig = $serverConfig;
80
        $this->users = $users;
81
        $this->extras = $extras;
82
    }
83
84
    public function run()
85
    {

src/Plugins/onMessage/porn.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/time.php 1 location

@@ 69-83 (lines=15) @@
66
     */
67
    private $extras;
68
69
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
70
    {
71
        $this->message = $message;
72
        $this->discord = $discord;
73
        $this->channelConfig = $channelConfig;
74
        $this->log = $log;
75
        $this->config = $config;
76
        $this->db = $db;
77
        $this->curl = $curl;
78
        $this->settings = $settings;
79
        $this->permissions = $permissions;
80
        $this->serverConfig = $serverConfig;
81
        $this->users = $users;
82
        $this->extras = $extras;
83
    }
84
85
    public function run()
86
    {

src/Plugins/onMessage/tq.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/user.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {

src/Plugins/onMessage/wolf.php 1 location

@@ 67-81 (lines=15) @@
64
     */
65
    private $extras;
66
67
    public function __construct($message, $discord, $channelConfig, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
68
    {
69
        $this->message = $message;
70
        $this->discord = $discord;
71
        $this->channelConfig = $channelConfig;
72
        $this->log = $log;
73
        $this->config = $config;
74
        $this->db = $db;
75
        $this->curl = $curl;
76
        $this->settings = $settings;
77
        $this->permissions = $permissions;
78
        $this->serverConfig = $serverConfig;
79
        $this->users = $users;
80
        $this->extras = $extras;
81
    }
82
83
    public function run()
84
    {