diff --git a/RandomFileSenderBot/src/main/kotlin/RandomFileSenderBot.kt b/RandomFileSenderBot/src/main/kotlin/RandomFileSenderBot.kt index 5e51b12..81064cb 100644 --- a/RandomFileSenderBot/src/main/kotlin/RandomFileSenderBot.kt +++ b/RandomFileSenderBot/src/main/kotlin/RandomFileSenderBot.kt @@ -22,7 +22,11 @@ import java.io.File private const val command = "send_file" /** - * This bot will send files inside of working directory OR from directory in the second argument + * This bot will send files inside of working directory OR from directory in the second argument. + * You may send /send_file command to this bot to get random file from the directory OR + * `/send_file $number` when you want to receive required number of files. For example, + * /send_file and `/send_file 1` will have the same effect - bot will send one random file. + * But if you will send `/send_file 5` it will choose 5 random files and send them as group */ suspend fun main(args: Array) { val botToken = args.first()