mirror of
https://github.com/InsanusMokrassar/TelegramBotTutorial.git
synced 2024-12-22 14:17:12 +00:00
remove handling of welcome message sending errors
This commit is contained in:
parent
2ba35e7b9b
commit
7483988faa
@ -190,15 +190,11 @@ class WelcomePlugin : Plugin {
|
|||||||
return@onNewChatMembers
|
return@onNewChatMembers
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
reply(
|
||||||
reply(
|
it,
|
||||||
it,
|
chatSettings.sourceChatId,
|
||||||
chatSettings.sourceChatId,
|
chatSettings.sourceMessageId
|
||||||
chatSettings.sourceMessageId
|
)
|
||||||
)
|
|
||||||
} catch (e: RequestException) {
|
|
||||||
log.e("Unable to send welcome message", e)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user