@@ -88,8 +88,7 @@ |
||
88 | 88 | $client->post($url, [ |
89 | 89 | GuzzleHttp\RequestOptions::JSON => ['content' => $message] |
90 | 90 | ]); |
91 | - } |
|
92 | - else { |
|
91 | + } else { |
|
93 | 92 | throw new Exception('Discord URL has not been set.'); |
94 | 93 | } |
95 | 94 | } catch (Exception $e) { |