+ public static function adlibChat(Channel $channel, User $user = null) {
+ $cmd = new TwitchBotCommand();
+ $cmd->command = 'adlib-chat';
+ $cmd->parameters = [
+ 'channel' => $channel->id,
+ ];
+ $cmd->status = 'pending';
+ $cmd->user()->associate($user);
+ $cmd->bot_nick = 'horstiebot';
+ $cmd->save();
+ }
+