Update plugin version

This commit is contained in:
kraftwerk28 2021-06-29 19:05:11 +03:00
parent 399c43480f
commit 7c45aa2140
2 changed files with 3 additions and 4 deletions

View File

@ -177,7 +177,6 @@ class TgBot(
val messageText = username?.let { formatMsgFromMinecraft(it, text) } ?: text val messageText = username?.let { formatMsgFromMinecraft(it, text) } ?: text
config.allowedChats.forEach { chatId -> config.allowedChats.forEach { chatId ->
scope.launch { scope.launch {
delay(1000)
api.sendMessage(chatId, messageText) api.sendMessage(chatId, messageText)
} }
} }

View File

@ -1,10 +1,10 @@
name: SpigotTGBridge name: SpigotTGBridge
version: 0.0.15 version: "0.16"
api-version: '1.15' api-version: "1.15"
main: org.kraftwerk28.spigot_tg_bridge.Plugin main: org.kraftwerk28.spigot_tg_bridge.Plugin
description: Telegram <-> Minecraft communication plugin for Spigot. description: Telegram <-> Minecraft communication plugin for Spigot.
load: STARTUP load: STARTUP
commands: commands:
tgbridge_reload: tgbridge_reload:
description: 'Reload Spigot TG bridge plugin' description: "Reload Spigot TG bridge plugin"
usage: /<command> usage: /<command>