From d84465ebd9844aec5a0e424497a9f2b90a4c4e80 Mon Sep 17 00:00:00 2001 From: LamGC Date: Mon, 18 Apr 2022 23:56:30 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=20TelegramBots=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E9=A1=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新该依赖项以支持新版本的 Telegram API. 请注意: TelegramBots 已将弃用类移除. --- scalabot-app/build.gradle.kts | 4 ++-- scalabot-extension/build.gradle.kts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scalabot-app/build.gradle.kts b/scalabot-app/build.gradle.kts index 8ee6870..dfc0cf4 100644 --- a/scalabot-app/build.gradle.kts +++ b/scalabot-app/build.gradle.kts @@ -27,8 +27,8 @@ dependencies { implementation("org.jdom:jdom2:2.0.6.1") - implementation("org.telegram:telegrambots-abilities:5.7.1") - implementation("org.telegram:telegrambots:5.7.1") + implementation("org.telegram:telegrambots-abilities:6.0.1") + implementation("org.telegram:telegrambots:6.0.1") implementation("io.prometheus:simpleclient:0.15.0") implementation("io.prometheus:simpleclient_httpserver:0.15.0") diff --git a/scalabot-extension/build.gradle.kts b/scalabot-extension/build.gradle.kts index f1c450e..acb624c 100644 --- a/scalabot-extension/build.gradle.kts +++ b/scalabot-extension/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } dependencies { - api("org.telegram:telegrambots-abilities:5.7.1") + api("org.telegram:telegrambots-abilities:6.0.1") api("org.slf4j:slf4j-api:1.7.36") // There is nothing to test.