diff --git a/src/main/kotlin/org/kraftwerk28/spigot_tg_bridge/TgBot.kt b/src/main/kotlin/org/kraftwerk28/spigot_tg_bridge/TgBot.kt index 96bdf46..90a3b37 100644 --- a/src/main/kotlin/org/kraftwerk28/spigot_tg_bridge/TgBot.kt +++ b/src/main/kotlin/org/kraftwerk28/spigot_tg_bridge/TgBot.kt @@ -177,7 +177,6 @@ class TgBot( val messageText = username?.let { formatMsgFromMinecraft(it, text) } ?: text config.allowedChats.forEach { chatId -> scope.launch { - delay(1000) api.sendMessage(chatId, messageText) } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 4c2a375..787fd14 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,10 +1,10 @@ name: SpigotTGBridge -version: 0.0.15 -api-version: '1.15' +version: "0.16" +api-version: "1.15" main: org.kraftwerk28.spigot_tg_bridge.Plugin description: Telegram <-> Minecraft communication plugin for Spigot. load: STARTUP commands: tgbridge_reload: - description: 'Reload Spigot TG bridge plugin' + description: "Reload Spigot TG bridge plugin" usage: /