Bashbot Version 0.72

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-05-10 18:57:22 +02:00
parent 67c47ac785
commit b17f99be06
3 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,7 @@ fi
if [ "${1}" != "source" ];then 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? # interactive running?
[ ! -z "${URLS[*]}" ] && { [ ! -z "${URLS[*]}" ] && {
curl -s "${URLS[*]}" -o "$NAME" curl -s "${URLS[*]}" -o "$NAME"

View File

@ -175,6 +175,8 @@ To send stickers through an *inline query*:
```bash ```bash
answer_inline_query "${iQUERY[ID]}" "cached_sticker" "identifier for the sticker" 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) #### [Prev Getting started](2_usage.md)
#### [Next Expert Use](4_expert.md) #### [Next Expert Use](4_expert.md)

View File

@ -17,7 +17,7 @@
if [ "$1" = "source" ];then if [ "$1" = "source" ];then
# Set INLINE to 1 in order to receive inline queries. # Set INLINE to 1 in order to receive inline queries.
# To enable this option in your bot, send the /setinline command to @BotFather. # 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 # Set to .* to allow sending files from all locations
FILE_REGEX='/home/user/allowed/.*' FILE_REGEX='/home/user/allowed/.*'