Code Duplication    Length = 8-8 lines in 7 locations

src/plugins/onMessage/auth.php 1 location

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

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)"
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/help.php 1 location

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

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
    {