mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-01-23 13:48:24 +00:00
Bashbot Version 0.72
This commit is contained in:
parent
67c47ac785
commit
b17f99be06
@ -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"
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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/.*'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user