Skip to content

Commit 11daa48

Browse files
committed
Bashbot Version 1.21 (cleanup release)
1 parent c85af77 commit 11daa48

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+89
-74
lines changed

README.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,6 @@ <h3>Blocked by telegram?</h3>
390390
<p>@Gnadelwartz</p>
391391
<h2>That's it all guys!</h2>
392392
<p>If you feel that there's something missing or if you found a bug, feel free to submit a pull request!</p>
393-
<h4>$$VERSION$$ v1.21-pre-28-g5415f28</h4>
393+
<h4>$$VERSION$$ v1.21-0-gc85af77</h4>
394394
</body>
395395
</html>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,4 @@ See `mycommnds.sh.dist` for an example.
238238

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

241-
#### $$VERSION$$ v1.21-pre-28-g5415f28
241+
#### $$VERSION$$ v1.21-0-gc85af77

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,4 +321,4 @@ See `mycommnds.sh.dist` for an example.
321321
If you feel that there's something missing or if you found a bug, feel free to
322322
submit a pull request!
323323

324-
#### $$VERSION$$ v1.21-pre-28-g5415f28
324+
#### $$VERSION$$ v1.21-0-gc85af77

addons/antiFlood.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# this addon counts how many files, e.g. stickers, are sent to
55
# a chat and takes actions if threshold is reached
66
#
7-
#### $$VERSION$$ v1.21-dev-44-gb04ee84
7+
#### $$VERSION$$ v1.21-0-gc85af77
88

99
# used events:
1010
#

addons/example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Addons can register to bashbot events at startup
55
# by providing their name and a callback per event
66
#
7-
#### $$VERSION$$ v1.21-dev-44-gb04ee84
7+
#### $$VERSION$$ v1.21-0-gc85af77
88
#
99
# If an event occurs each registered event function is called.
1010
#

bashbot.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# tested on: ubuntu, opensuse, debian
77
#
8-
#### $$VERSION$$ v1.21-pre-39-ge8aa80c
8+
#### $$VERSION$$ v1.21-0-gc85af77
99
# shellcheck disable=SC2009
1010
# shellcheck disable=SC2181
1111

bashbot.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# 8 - curl/wget missing
3131
# 10 - not bash!
3232
#
33-
#### $$VERSION$$ v1.21-pre-28-g5415f28
33+
#### $$VERSION$$ v1.21-0-gc85af77
3434
##################################################################
3535

3636
# emmbeded system may claim bash but it is not
@@ -127,7 +127,7 @@ debug_checks(){ {
127127
}
128128

129129
# some Linux distributions (e.g. Manjaro) doesn't seem to have C locale activated by default
130-
if _exists locale && [ "$(locale -a | grep -c -e "^C$" -e "^C.utf8$")" -lt 2 ]; then
130+
if _exists locale && [ "$(locale -a | grep -c -e "^C$" -e "^C.[uU][tT][fF]")" -lt 2 ]; then
131131
printf "${ORANGE}Warning: locale ${NC}${GREY}C${NC}${ORANGE} and/or ${NC}${GREY}C.utf8${NC}${ORANGE} seems missing, use \"${NC}${GREY}locale -a${NC}${ORANGE}\" to show what locales are installed on your system.${NN}"
132132
fi
133133

@@ -1289,14 +1289,14 @@ if [ -z "${SOURCE}" ]; then
12891289
;;
12901290
*)
12911291
printf "${RED}${REALME##*/}: unknown command${NN}"
1292-
printf "${RED}Available commands: ${GREY}${BOTCOMMANDS}${NN}" && exit
1292+
printf "${ORANGE}Available commands: ${GREY}${BOTCOMMANDS}${NN}" && exit
12931293
exit 4
12941294
;;
12951295
esac
12961296

12971297
# warn if root
12981298
if [[ "${UID}" -eq "0" ]] ; then
1299-
printf "\\n${ORANGE}WARNING: ${SCRIPT} was started as ROOT (UID 0)!${NN}"
1299+
printf "\n${ORANGE}WARNING: ${SCRIPT} was started as ROOT (UID 0)!${NN}"
13001300
printf "${ORANGE}You are at HIGH RISK when running a Telegram BOT with root privileges!${NN}"
13011301
fi
13021302
fi # end source

bin/bashbot_env.inc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# AUTHOR: KayM (gnadelwartz), [email protected]
1414
# CREATED: 18.12.2020 12:27
1515
#
16-
#### $$VERSION$$ v1.21-pre-43-gbbdeb8b
16+
#### $$VERSION$$ v1.21-0-gc85af77
1717
#===============================================================================
1818

1919
############

bin/bashbot_stats.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# AUTHOR: KayM (gnadelwartz), [email protected]
1717
# CREATED: 23.12.2020 20:34
1818
#
19-
#### $$VERSION$$ v1.20-0-g2ab00a2
19+
#### $$VERSION$$ v1.21-0-gc85af77
2020
#===============================================================================
2121

2222
####

bin/send_broadcast.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# AUTHOR: KayM (gnadelwartz), [email protected]
2525
# CREATED: 16.12.2020 16:14
2626
#
27-
#### $$VERSION$$ v1.20-3-g232a16b
27+
#### $$VERSION$$ v1.21-0-gc85af77
2828
#===============================================================================
2929
# shellcheck disable=SC2059
3030

0 commit comments

Comments
 (0)