validate(); // TODO: move this to a helper class so we can reuse code between API and FE $response = Http::post(config('bot.webhook'), ['text' => $validated['quote']]); activity() ->event('send') ->log("Manually sent quote: {$validated['quote']}"); $this->quote = ''; } }; ?>