]> git.localhorst.tv Git - alttp.git/blobdiff - app/Http/Controllers/ChannelController.php
chat bot config
[alttp.git] / app / Http / Controllers / ChannelController.php
index c47a4066a20a2d80112558498c1f198c9538786b..b72742f2d835d664ed7c55e30d8b3cf6e1aa6e14 100644 (file)
@@ -68,6 +68,8 @@ class ChannelController extends Controller {
                        throw new \Exception('channel has no twitch chat set');
                }
                $validatedData = $request->validate([
+                       'language' => 'string|in:de,en,es,fr',
+                       'respond' => 'string|in:50,no,yes',
                        'wait_msgs_min' => 'integer|min:1',
                        'wait_msgs_max' => 'integer',
                        'wait_time_min' => 'integer',