start migration onto 9.0.0

This commit is contained in:
2023-06-30 17:49:19 +06:00
parent ea08bac6e8
commit 0d9e295baa
4 changed files with 12 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ suspend fun main(args: Array<String>) {
}
) {
val me = getMe()
fun Chat.stickerSetName() = "s${id.chatId}_by_${me.username.usernameWithoutAt}"
fun Chat.stickerSetName() = "s${id.chatId}_by_${me.username ?.usernameWithoutAt}"
onCommand("start") {
reply(it) {
botCommand("delete") + " - to clear stickers"