Code Duplication    Length = 8-8 lines in 7 locations

src/plugins/onMessage/time.php 1 location

@@ 102-109 (lines=8) @@
99
    /**
100
     * @return array
101
     */
102
    function information()
103
    {
104
        return array(
105
            "name" => "time",
106
            "trigger" => array($this->config["bot"]["trigger"] . "time"),
107
            "information" => "This shows the time for various timezones compared to EVE Time. To use simply type <!time>"
108
        );
109
    }
110
}

src/plugins/onMessage/auth.php 1 location

@@ 196-203 (lines=8) @@
193
    /**
194
     * @return array
195
     */
196
    function information()
197
    {
198
        return array(
199
            "name" => "auth",
200
            "trigger" => array($this->config["bot"]["trigger"] . "auth"),
201
            "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."
202
        );
203
    }
204
    /**
205
     * @param $msgData
206
     */

src/plugins/onMessage/charInfo.php 1 location

@@ 153-160 (lines=8) @@
150
    /**
151
     * @return array
152
     */
153
    function information()
154
    {
155
        return array(
156
            "name" => "char",
157
            "trigger" => array($this->config["bot"]["trigger"] . "char"),
158
            "information" => "Returns basic EVE Online data about a character. To use simply type !char character_name"
159
        );
160
    }
161
162
    /**
163
     * @param $msgData

src/plugins/onMessage/help.php 1 location

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

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
    /**
152
     * @param $msgData

src/plugins/admin/setNickname.php 1 location

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

src/plugins/admin/updateBot.php 1 location

@@ 109-116 (lines=8) @@
106
    /**
107
     * @return array
108
     */
109
    function information()
110
    {
111
        return array(
112
            "name" => "update",
113
            "trigger" => array($this->config["bot"]["trigger"] . "update"),
114
            "information" => "Updates the bot to the latest version (Admin Role)"
115
        );
116
    }
117
118
    /**
119
     * @param $msgData