Code Duplication    Length = 8-8 lines in 9 locations

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/onMessage/charInfo.php 1 location

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

src/plugins/onMessage/corpInfo.php 1 location

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

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/auth.php 1 location

@@ 214-221 (lines=8) @@
211
    /**
212
     * @return array
213
     */
214
    function information()
215
    {
216
        return array(
217
            "name" => "auth",
218
            "trigger" => array($this->config["bot"]["trigger"] . "auth"),
219
            "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."
220
        );
221
    }
222
223
    function onMessageAdmin()
224
    {

src/plugins/admin/getLog.php 1 location

@@ 117-124 (lines=8) @@
114
    /**
115
     * @return array
116
     */
117
    function information()
118
    {
119
        return array(
120
            "name" => "log",
121
            "trigger" => array($this->config["bot"]["trigger"] . "log"),
122
            "information" => "Get the end of log files. Follow command with either log, error, other **(Admin Role Required)**"
123
        );
124
    }
125
126
}
127

src/plugins/onMessage/help.php 1 location

@@ 128-135 (lines=8) @@
125
    /**
126
     * @return array
127
     */
128
    function information()
129
    {
130
        return array(
131
            "name" => "help",
132
            "trigger" => array($this->config["bot"]["trigger"] . "help"),
133
            "information" => "Shows help for a plugin, or all the plugins available. Example: **!help pc**"
134
        );
135
    }
136
}