]> git.localhorst.tv Git - alttp.git/blobdiff - app/Console/Commands/TwitchBotCommand.php
add chat bot
[alttp.git] / app / Console / Commands / TwitchBotCommand.php
index 55ae34b8f7b3dc9c4534f1ba7d6f0b42a8104627..241a8854d9febd00c5f994f23c6e342ca7e7f260 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace App\Console\Commands;
 
-use App\TwitchBot\TwitchBot;
+use App\TwitchBot\TwitchAppBot;
 use Illuminate\Console\Command;
 
 class TwitchBotCommand extends Command {
@@ -27,7 +27,7 @@ class TwitchBotCommand extends Command {
         * @return int
         */
        public function handle() {
-               $bot = new TwitchBot();
+               $bot = new TwitchAppBot();
 
                $bot->getLoop()->addSignal(SIGINT, function() use ($bot) {
                        $bot->stop();