From b17f99be06124909ff8ebf2c52f59087e9732788 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 10 May 2019 18:57:22 +0200 Subject: [PATCH] Bashbot Version 0.72 --- commands.sh | 2 +- doc/3_advanced.md | 2 ++ mycommands.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/commands.sh b/commands.sh index a0b63a9..b1303bc 100644 --- a/commands.sh +++ b/commands.sh @@ -60,7 +60,7 @@ fi if [ "${1}" != "source" ];then - if ! tmux ls | grep -v send | grep -q "$copname"; then + if ! tmux ls 2>/dev/null | grep -v send | grep -q "$copname"; then # interactive running? [ ! -z "${URLS[*]}" ] && { curl -s "${URLS[*]}" -o "$NAME" diff --git a/doc/3_advanced.md b/doc/3_advanced.md index c98e19d..51d6d30 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -175,6 +175,8 @@ To send stickers through an *inline query*: ```bash answer_inline_query "${iQUERY[ID]}" "cached_sticker" "identifier for the sticker" ``` +See also [answer_inline_multi, answer_inline_compose](6_reference.md#answer_inline_multi) and [mycommands.sh](../mycommands.sh) for more information. + #### [Prev Getting started](2_usage.md) #### [Next Expert Use](4_expert.md) diff --git a/mycommands.sh b/mycommands.sh index 7fd510c..82a459b 100644 --- a/mycommands.sh +++ b/mycommands.sh @@ -17,7 +17,7 @@ if [ "$1" = "source" ];then # Set INLINE to 1 in order to receive inline queries. # To enable this option in your bot, send the /setinline command to @BotFather. - INLINE="1" + INLINE="0" # Set to .* to allow sending files from all locations FILE_REGEX='/home/user/allowed/.*'