Code Duplication    Length = 8-8 lines in 9 locations

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

src/plugins/admin/setGame.php 1 location

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

src/plugins/admin/setNickname.php 1 location

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

src/plugins/onMessage/fleetUpOps.php 1 location

@@ 126-133 (lines=8) @@
123
    /**
124
     * @return array
125
     */
126
    public function information()
127
    {
128
        return array(
129
            'name' => 'ops',
130
            'trigger' => array($this->config['bot']['trigger'] . 'ops'),
131
            'information' => 'This shows the upcoming operations. To use simply type <!ops>'
132
        );
133
    }
134
}
135

src/plugins/onMessage/help.php 1 location

@@ 99-106 (lines=8) @@
96
    /**
97
     * @return array
98
     */
99
    public function information()
100
    {
101
        return array(
102
            'name' => 'help',
103
            'trigger' => array($this->config['bot']['trigger'] . 'help'),
104
            'information' => 'Shows help for a plugin, or all the plugins available. Example: **!help pc**'
105
        );
106
    }
107
}

src/plugins/onMessage/time.php 1 location

@@ 96-103 (lines=8) @@
93
    /**
94
     * @return array
95
     */
96
    public function information()
97
    {
98
        return array(
99
            'name' => 'time',
100
            'trigger' => array($this->config['bot']['trigger'] . 'time'),
101
            'information' => 'This shows the time for various timezones compared to EVE Time. To use simply type <!time>'
102
        );
103
    }
104
}

src/plugins/onMessage/auth.php 1 location

@@ 209-216 (lines=8) @@
206
    /**
207
     * @return array
208
     */
209
    public function information()
210
    {
211
        return array(
212
            'name' => 'auth',
213
            'trigger' => array($this->config['bot']['trigger'] . 'auth'),
214
            '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.'
215
        );
216
    }
217
}
218

src/plugins/onMessage/charInfo.php 1 location

@@ 148-155 (lines=8) @@
145
    /**
146
     * @return array
147
     */
148
    public function information()
149
    {
150
        return array(
151
            'name' => 'char',
152
            'trigger' => array($this->config['bot']['trigger'] . 'char'),
153
            'information' => 'Returns basic EVE Online data about a character. To use simply type !char character_name'
154
        );
155
    }
156
157
}
158

src/plugins/onMessage/corpInfo.php 1 location

@@ 114-121 (lines=8) @@
111
    /**
112
     * @return array
113
     */
114
    public function information()
115
    {
116
        return array(
117
            'name' => 'corp',
118
            'trigger' => array($this->config['bot']['trigger'] . 'corp'),
119
            'information' => 'Returns basic EVE Online data about a corporation from projectRena. To use simply type !corp corporation_name'
120
        );
121
    }
122
}
123