Passed
Branch master (bcc732)
by Bob
02:55
created
src/plugins/admin/setNickname.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             foreach ($roles as $role) {
88 88
                 if (in_array($role->name, $adminRoles, true)) {
89 89
                     $member = $guild->members->get('id', $botID);
90
-                    $nick = (string)$data['messageString'];
90
+                    $nick = (string) $data['messageString'];
91 91
                     $member->setNickname($nick);
92 92
 
93 93
                     $msg = "Bot nickname changed to **{$nick}** by {$msgData['message']['from']}";
Please login to merge, or discard this patch.
src/plugins/admin/setGame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             $roles = $member->roles;
88 88
             foreach ($roles as $role) {
89 89
                 if (in_array($role->name, $adminRoles, true)) {
90
-                    $newGame = (string)$data['messageString'];
90
+                    $newGame = (string) $data['messageString'];
91 91
                     $game = $this->discord->factory(Game::class, [
92 92
                         'name' => $newGame,
93 93
                     ]);
Please login to merge, or discard this patch.
src/plugins/admin/getLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             $roles = $member->roles;
87 87
             foreach ($roles as $role) {
88 88
                 if (in_array($role->name, $adminRoles, true)) {
89
-                    $logType = (string)$data['messageString'];
89
+                    $logType = (string) $data['messageString'];
90 90
                     if ($logType == 'log') {
91 91
                         $filePath = __DIR__ . '/../../../log/dramielLog.log';
92 92
                     } elseif ($logType == 'error') {
Please login to merge, or discard this patch.