Test Setup Failed
Push — master ( fec420...86fb9b )
by Bob
06:30 queued 03:13
created
Dramiel.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,8 +148,9 @@
 block discarded – undo
148 148
         
149 149
         // Run the Tick plugins
150 150
         $ws->loop->addPeriodicTimer(1, function () use ($pluginsT) {
151
-            foreach ($pluginsT as $plugin)
152
-                $plugin->tick();
151
+            foreach ($pluginsT as $plugin) {
152
+                            $plugin->tick();
153
+            }
153 154
         });
154 155
 
155 156
         // Mem cleanup every 30 minutes
Please login to merge, or discard this patch.
src/plugins/onTick/authCheck.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,4 +229,4 @@
 block discarded – undo
229 229
     {
230 230
     }
231 231
 }
232
- 
233 232
\ No newline at end of file
233
+    
234 234
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         $guild = $discord->guilds->get('id', $id);
124 124
 
125 125
         //Check to make sure guildID is set correctly
126
-        if (is_null($guild)){
126
+        if (is_null($guild)) {
127 127
             $this->logger->addError("Config Error: Ensure the guild entry in the config is the guildID (aka serverID) for the main server that the bot is in.");
128 128
             $nextCheck = time() + 7200;
129 129
             setPermCache("authLastChecked", $nextCheck);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         }
132 132
 
133 133
         //Remove members who have roles but never authed
134
-        foreach($guild->members as $member) {
134
+        foreach ($guild->members as $member) {
135 135
             $id = $member->id;
136 136
             $username = $member->username;
137 137
             $roles = $member->roles;
Please login to merge, or discard this patch.
config/config.new.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     "trigger" => "!", // what trigger is used for commands
32 32
     "guild" => 152677265635803136, // guildID 
33 33
     "token" => "", //enter the token for your app (https://discordapp.com/developers/applications/me)
34
-    "adminRoles" => array("Admin",""),//enter the roles that you'd like to have access to admin commands
34
+    "adminRoles" => array("Admin", ""), //enter the roles that you'd like to have access to admin commands
35 35
     "silentMode" => "false"//set this to true if you want to disable all the chat commands
36 36
 );
37 37
 
Please login to merge, or discard this patch.
src/plugins/onMessage/price.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,11 +129,11 @@
 block discarded – undo
129 129
             if ($single) {
130 130
                 $typeID = $single["typeID"];
131 131
 
132
-                if (is_null($typeID)){
132
+                if (is_null($typeID)) {
133 133
                     $typeID = $single;
134 134
                 }
135 135
 
136
-                if ($systemName == "pc"){
136
+                if ($systemName == "pc") {
137 137
                     $solarSystemID = "global";
138 138
                 } else {
139 139
                     $solarSystemID = apiCharacterID(urlencode($systemName));
Please login to merge, or discard this patch.