mirror of
https://github.com/InsanusMokrassar/TelegramBotTutorial.git
synced 2024-11-16 13:13:49 +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
|
||||
}
|
||||
|
||||
try {
|
||||
reply(
|
||||
it,
|
||||
chatSettings.sourceChatId,
|
||||
chatSettings.sourceMessageId
|
||||
)
|
||||
} catch (e: RequestException) {
|
||||
log.e("Unable to send welcome message", e)
|
||||
}
|
||||
reply(
|
||||
it,
|
||||
chatSettings.sourceChatId,
|
||||
chatSettings.sourceMessageId
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user