From 17c08fc906b790ccc0065ac00aac5472df5ccd81 Mon Sep 17 00:00:00 2001
From: InsanusMokrassar <ovsyannikov.alexey95@gmail.com>
Date: Thu, 9 Sep 2021 09:20:17 +0600
Subject: [PATCH] Update RandomFileSenderBot.kt

---
 RandomFileSenderBot/src/main/kotlin/RandomFileSenderBot.kt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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<String>) {
     val botToken = args.first()