Code Duplication    Length = 8-8 lines in 9 locations

src/plugins/onMessage/corpInfo.php 1 location

@@ 142-149 (lines=8) @@
139
    /**
140
     * @return array
141
     */
142
    function information()
143
    {
144
        return array(
145
            'name' => 'corp',
146
            'trigger' => array($this->config['bot']['trigger'] . 'corp'),
147
            'information' => 'Returns basic EVE Online data about a corporation from projectRena. To use simply type !corp corporation_name'
148
        );
149
    }
150
151
    function onMessageAdmin()
152
    {

src/plugins/admin/setNickname.php 1 location

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

src/plugins/onMessage/fleetUpOps.php 1 location

@@ 143-150 (lines=8) @@
140
    /**
141
     * @return array
142
     */
143
    function information()
144
    {
145
        return array(
146
            'name' => 'ops',
147
            'trigger' => array($this->config['bot']['trigger'] . 'ops'),
148
            'information' => 'This shows the upcoming operations. To use simply type <!ops>'
149
        );
150
    }
151
}
152

src/plugins/onMessage/time.php 1 location

@@ 113-120 (lines=8) @@
110
    /**
111
     * @return array
112
     */
113
    function information()
114
    {
115
        return array(
116
            'name' => 'time',
117
            'trigger' => array($this->config['bot']['trigger'] . 'time'),
118
            'information' => 'This shows the time for various timezones compared to EVE Time. To use simply type <!time>'
119
        );
120
    }
121
}

src/plugins/admin/setGame.php 1 location

@@ 114-121 (lines=8) @@
111
    /**
112
     * @return array
113
     */
114
    function information()
115
    {
116
        return array(
117
            'name' => 'game',
118
            'trigger' => array($this->config['bot']['trigger'] . 'game'),
119
            'information' => 'Changes the bots game **(Admin Role Required)**'
120
        );
121
    }
122
123
}
124

src/plugins/onMessage/charInfo.php 1 location

@@ 170-177 (lines=8) @@
167
    /**
168
     * @return array
169
     */
170
    function information()
171
    {
172
        return array(
173
            'name' => 'char',
174
            'trigger' => array($this->config['bot']['trigger'] . 'char'),
175
            'information' => 'Returns basic EVE Online data about a character. To use simply type !char character_name'
176
        );
177
    }
178
179
    function onMessageAdmin()
180
    {

src/plugins/onMessage/auth.php 1 location

@@ 240-247 (lines=8) @@
237
    /**
238
     * @return array
239
     */
240
    function information()
241
    {
242
        return array(
243
            'name' => 'auth',
244
            'trigger' => array($this->config['bot']['trigger'] . 'auth'),
245
            'information' => 'SSO based auth system. ' . $this->ssoUrl . ' Visit the link and login with your main EVE account, select the correct character, and put the !auth <string> you receive in chat.'
246
        );
247
    }
248
249
    function onMessageAdmin()
250
    {

src/plugins/onMessage/help.php 1 location

@@ 115-122 (lines=8) @@
112
    /**
113
     * @return array
114
     */
115
    function information()
116
    {
117
        return array(
118
            'name' => 'help',
119
            'trigger' => array($this->config['bot']['trigger'] . 'help'),
120
            'information' => 'Shows help for a plugin, or all the plugins available. Example: **!help pc**'
121
        );
122
    }
123
}

src/plugins/admin/getLog.php 1 location

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