Code Duplication    Length = 8-8 lines in 4 locations

src/plugins/admin/getLog.php 1 location

@@ 108-115 (lines=8) @@
105
    /**
106
     * @return array
107
     */
108
    public function information()
109
    {
110
        return array(
111
            'name' => 'log',
112
            'trigger' => array($this->config['bot']['trigger'] . 'log'),
113
            'information' => 'Get a pastebin of the last 100 lines of your log files. Follow command with either log, error, other **(Admin Role Required)**'
114
        );
115
    }
116
117
}
118

src/plugins/admin/setAvatar.php 1 location

@@ 110-117 (lines=8) @@
107
    /**
108
     * @return array
109
     */
110
    public function information()
111
    {
112
        return array(
113
            'name' => 'avatar',
114
            'trigger' => array($this->config['bot']['trigger'] . 'avatar'),
115
            'information' => 'Changes the bots avatar (!avatar url) **(Admin Role Required)**'
116
        );
117
    }
118
119
}
120

src/plugins/admin/setGame.php 1 location

@@ 98-105 (lines=8) @@
95
    /**
96
     * @return array
97
     */
98
    public function information()
99
    {
100
        return array(
101
            'name' => 'game',
102
            'trigger' => array($this->config['bot']['trigger'] . 'game'),
103
            'information' => 'Changes the bots game **(Admin Role Required)**'
104
        );
105
    }
106
107
}
108

src/plugins/admin/setNickname.php 1 location

@@ 94-101 (lines=8) @@
91
    /**
92
     * @return array
93
     */
94
    public function information()
95
    {
96
        return array(
97
            'name' => 'nickname',
98
            'trigger' => array($this->config['bot']['trigger'] . 'nickname'),
99
            'information' => 'Changes the bots nickname **(Admin Role Required)**'
100
        );
101
    }
102
103
}
104