From 66b36cc62aa062282f4d21ff3e794d351e0c15c4 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 23 Mar 2016 16:02:28 +0100 Subject: [PATCH] Added description of new parameter. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eda4012..8649f77 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,11 @@ To send messages use the ```send_message``` function: ``` send_message "${USER[ID]}" "lol" ``` -To send images, videos, voice files, photos ecc use the ```send_photo``` function: +This function also allows a third parameter that disables additional function parsing (for safety use this when reprinting user input): +``` +send_message "${USER[ID]}" "lol" "text" +``` +To send images, videos, voice files, photos ecc use the ```send_photo``` function (remember to change the safety Regex @ line 94 to allow sending files only from certain directories): ``` send_file "${USER[ID]}" "/home/user/doge.jpg" "Lool" ```