Skip to content

Commit

Permalink
Bashbot Version 1.51
Browse files Browse the repository at this point in the history
  • Loading branch information
gnadelwartz committed Jun 3, 2021
1 parent 6e66a28 commit 36d8604
Show file tree
Hide file tree
Showing 84 changed files with 85 additions and 85 deletions.
2 changes: 1 addition & 1 deletion README.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,6 @@ <h3>Blocked by telegram?</h3>
<p>@Gnadelwartz</p>
<h2>That's it all guys!</h2>
<p>If you feel that there's something missing or if you found a bug, feel free to submit a pull request!</p>
<h4>$$VERSION$$ v1.5-0-g8adca9b</h4>
<h4>$$VERSION$$ v1.51-0-g6e66a28</h4>
</body>
</html>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,4 @@ See `mycommnds.sh.dist` for an example.

If you feel that there's something missing or if you found a bug, feel free to submit a pull request!

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,5 @@ That's it all guys!
If you feel that there's something missing or if you found a bug, feel free to submit a
pull request!

$$VERSION$$ v1.5-0-g8adca9b
$$VERSION$$ v1.51-0-g6e66a28

2 changes: 1 addition & 1 deletion addons/antiFlood.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# this addon counts how many files, e.g. stickers, are sent to
# a chat and takes actions if threshold is reached
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

# used events:
#
Expand Down
2 changes: 1 addition & 1 deletion addons/example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Addons can register to bashbot events at startup
# by providing their name and a callback per event
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#
# If an event occurs each registered event function is called.
#
Expand Down
2 changes: 1 addition & 1 deletion bashbot.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# tested on: ubuntu, opensuse, debian
#
#### $$VERSION$$ v1.51-dev-22-g45efa80
#### $$VERSION$$ v1.51-0-g6e66a28
# shellcheck disable=SC2009
# shellcheck disable=SC2181
# shellcheck disable=SC2250
Expand Down
2 changes: 1 addition & 1 deletion bashbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb
# 8 - curl/wget missing
# 10 - not bash!
#
#### $$VERSION$$ v1.51-dev-23-g69b1871
#### $$VERSION$$ v1.51-0-g6e66a28
##################################################################

# are we running in a terminal?
Expand Down
2 changes: 1 addition & 1 deletion bin/any_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ USAGE='any_command.sh [-h|--help] [--force|--reference] bot_command args ...'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 30.01.2021 10:24
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/bashbot_env.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 18.12.2020 12:27
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

############
Expand Down
2 changes: 1 addition & 1 deletion bin/bashbot_init.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 27.01.2021 13:42
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================
# shellcheck disable=SC2059

Expand Down
2 changes: 1 addition & 1 deletion bin/bashbot_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ USAGE='bashbot_stats.sh [-h|--help] [debug]'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 23.12.2020 20:34
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

# set bashbot environment
Expand Down
2 changes: 1 addition & 1 deletion bin/delete_message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ USAGE='delete_message.sh [-h|--help] "CHAT[ID]" "MESSAGE[ID]" [debug]'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 03.01.2021 15:37
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/edit_buttons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ USAGE='send_message.sh [-h|--help] "CHAT[ID]" "MESSAGE[ID]" "text|url" ...'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 21.01.2021 08:10
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/edit_message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ USAGE='send_edit_message.sh [-h|--help] [format|caption] "CHAT[ID]" "MESSAGE[ID]
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 23.12.2020 16:52
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/kickban_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ USAGE='kickban_user.sh [-h|--help] [-u|--unban] "CHAT[ID]" "USER[ID]" [debug]'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 25.01.2021 20:34
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/process_batch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ USAGE='process_batch.sh [-h|--help] [-s|--startbot] [-w|--watch] [-n|--lines n]
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 27.02.2021 13:14
#
#### $$VERSION$$ v1.51-dev-22-g45efa80
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/process_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USAGE='process_update.sh [-h|--help] [debug] [<file]'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 30.01.2021 19:14
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/promote_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ USAGE='promote_user.sh [-h|--help] "CHAT[ID]" "USER[ID]" "right[:true|false]" ..
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 25.01.2021 22:34
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/send_broadcast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ USAGE='broadcast_message.sh [-h|--help] [--doit] [--groups|--both|--db=file] [fo
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 16.12.2020 16:14
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/send_buttons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ USAGE='send_message.sh [-h|--help] "CHAT[ID]" "message" "text|url" ...'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 18.01.2021 11:34
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/send_dice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ USAGE='send_dice.sh [-h|--help] "CHAT[ID]" "emoji" [debug]'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 07.02.2021 18:45
#
#### $$VERSION$$ v1.51-dev-1-g99950e6
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/send_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ USAGE='send_file.sh [-h|--help] "CHAT[ID]" "file|URL" "caption ...." [type] [deb
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 25.12.2020 20:24
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
2 changes: 1 addition & 1 deletion bin/send_message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ USAGE='send_message.sh [-h|--help] [format] "CHAT[ID]" "message ...." [debug]'
# AUTHOR: KayM (gnadelwartz), [email protected]
# CREATED: 16.12.2020 11:34
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#===============================================================================

####
Expand Down
4 changes: 2 additions & 2 deletions commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v1.51-dev-25-g52fbb14
#### $$VERSION$$ v1.51-0-g6e66a28
#

# bashbot locale defaults to c.UTF-8, adjust locale in mycommands.sh if needed
Expand Down Expand Up @@ -48,7 +48,7 @@ Additional commands from mycommands.dist ...
*• /game*: _throw a die_.
*• /question*: _Start interactive chat_.
*• /cancel*: _Cancel any currently running interactive chat_.
*• /notify*: _Start background job_.
*• /run_notify*: _Start background job_.
*• /stop_notify*: _Stop notify background job_.
Written by Drew (@topkecleon) and KayM (@gnadelwartz).
Get the code on [GitHub](http://github.com/topkecleon/telegram-bot-bash)
Expand Down
2 changes: 1 addition & 1 deletion dev/all-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# Description: run all tests, exit after failed test
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#############################################################

#shellcheck disable=SC1090
Expand Down
2 changes: 1 addition & 1 deletion dev/dev.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# Description: common stuff for all dev scripts
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
#############################################################

# magic to ensure that we're always inside the root of our application,
Expand Down
2 changes: 1 addition & 1 deletion dev/git-add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# works together with git pre-push.sh and ADD all changed files since last push

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

#shellcheck disable=SC1090
source "${0%/*}/dev.inc.sh"
Expand Down
2 changes: 1 addition & 1 deletion dev/hooks/post-commit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

############
# NOTE: you MUST run install-hooks.sh again when updating this file!
Expand Down
2 changes: 1 addition & 1 deletion dev/hooks/pre-commit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

############
# NOTE: you MUST run install-hooks.sh again when updating this file!
Expand Down
2 changes: 1 addition & 1 deletion dev/hooks/pre-push.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

############
# NOTE: you MUST run install-hooks.sh again when updating this file!
Expand Down
2 changes: 1 addition & 1 deletion dev/inject-json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Usage: source inject-json.sh
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
##############################################################

# download JSON.sh
Expand Down
2 changes: 1 addition & 1 deletion dev/install-hooks.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# this has to run once atfer git clone
# and every time we create new hooks
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

#shellcheck disable=SC1090
source "${0%/*}/dev.inc.sh"
Expand Down
2 changes: 1 addition & 1 deletion dev/make-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Options: --notest - skip tests
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
##############################################################

#shellcheck disable=SC1090
Expand Down
2 changes: 1 addition & 1 deletion dev/make-html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Usage: source make-hmtl
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
##############################################################

# check for correct dir
Expand Down
2 changes: 1 addition & 1 deletion dev/make-standalone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# If you your bot is finished you can use make-standalone.sh to create the
# the old all-in-one bashbot: bashbot.sh and commands.sh only!
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
###################################################################

# include git config and change to base dir
Expand Down
2 changes: 1 addition & 1 deletion dev/obfuscate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# joke hack to obfuscate bashbot.min.sh
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
# shellcheck disable=SC2028,SC2016,SC1117

infile="bashbot.sh"
Expand Down
2 changes: 1 addition & 1 deletion dev/shellcheck.files
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# list of additional files to check from shellcheck
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
bashbot.rc
mycommands.conf
mycommands.sh.clean
2 changes: 1 addition & 1 deletion dev/version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
# shellcheck disable=SC2016
#
# Easy Versioning in git:
Expand Down
2 changes: 1 addition & 1 deletion doc/0_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ You must update to [Version 1.20](https://github.com/topkecleon/telegram-bot-bas

#### [Next Create Bot](1_firstbot.md)

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

2 changes: 1 addition & 1 deletion doc/1_firstbot.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ group. This step is up to you actually.
#### [Prev Installation](0_install.md)
#### [Next Getting started](2_usage.md)

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

2 changes: 1 addition & 1 deletion doc/2_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,5 @@ send_action "${CHAT[ID]}" "action"
#### [Prev Create Bot](1_firstbot.md)
#### [Next Advanced Usage](3_advanced.md)

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

2 changes: 1 addition & 1 deletion doc/3_advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,5 @@ Note: If you disable automatic retry, se above, you disable also connection prob
#### [Prev Getting started](2_usage.md)
#### [Next Expert Use](4_expert.md)
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
2 changes: 1 addition & 1 deletion doc/4_expert.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,5 +434,5 @@ for every poll until the maximum of BASHBOT_SLEEP ms.
#### [Prev Advanced Use](3_advanced.md)
#### [Next Best Practice](5_practice.md)

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28

2 changes: 1 addition & 1 deletion doc/5_practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ The second warning is about an unused variable, this is true because in our exam
#### [Prev Best Practice](5_practice.md)
#### [Next Functions Reference](6_reference.md)
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
2 changes: 1 addition & 1 deletion doc/6_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1673,5 +1673,5 @@ The name of your bot is available as bash variable "$ME", there is no need to ca
#### [Prev Best Practice](5_practice.md)
#### [Next Notes for Developers](7_develop.md)
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
2 changes: 1 addition & 1 deletion doc/7_develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,5 +387,5 @@ fi
#### [Prev Function Reference](6_reference.md)
#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ plus use of keyboards in private chats. It's an extended version of mycommands.s

**Webhook** contains instructions on how use webhook API to get updates from telegram instead polling Telegram server.

#### $$VERSION$$ v1.5-0-g8adca9b
#### $$VERSION$$ v1.51-0-g6e66a28


Loading

0 comments on commit 36d8604

Please sign in to comment.