diff --git a/.github/workflows/bot_check.yml b/.github/workflows/bot_check.yml index c4ee4de6..dece3ccc 100644 --- a/.github/workflows/bot_check.yml +++ b/.github/workflows/bot_check.yml @@ -6,12 +6,14 @@ on: paths: - zhenxun/** - tests/** + - .github/workflows/bot_check.yml - bot.py pull_request: branches: ["main"] paths: - zhenxun/** - tests/** + - .github/workflows/bot_check.yml - bot.py jobs: @@ -58,7 +60,7 @@ jobs: poetry install --no-root - name: Install playwright - if: steps.cache-playwright.outputs.cache-hit != 'true' + if: steps.cache-playwright.outputs.cache-hit != 'true' run: | apt-get update apt-get install -y libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav flite x264 libx264-dev diff --git a/bot.py b/bot.py index a449872e..76fe8204 100644 --- a/bot.py +++ b/bot.py @@ -12,7 +12,7 @@ driver.register_adapter(OneBotV11Adapter) driver.register_adapter(KaiheilaAdapter) driver.register_adapter(DoDoAdapter) -# driver.register_adapter(DiscordAdapter) +# driver.register_adapter(DiscordAdapter) from zhenxun.services.db_context import disconnect, init