Commit Graph

958 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
3324ecdf26 fix log sendJson 2020-12-18 15:00:08 +01:00
Kay Marquardt (Gnadelwartz)
bd155f8cb5 add bin/bashbot_env.inc.sh 2020-12-18 14:53:44 +01:00
Kay Marquardt (Gnadelwartz)
0db0215d9b fix sendJsonResult and chat is not a number 2020-12-18 14:47:53 +01:00
Kay Marquardt (Gnadelwartz)
53c7879c9f add error respone for chat id not a nuber 2020-12-18 14:23:20 +01:00
Kay Marquardt (Gnadelwartz)
8b9cb1a77e remove set -x 2020-12-17 20:25:52 +01:00
Kay Marquardt (Gnadelwartz)
16a22995d6 remove nashbot option broadcast, use broadcast.sh 2020-12-17 08:58:32 +01:00
Kay Marquardt (Gnadelwartz)
c356143be4 fix scripts BASHBOT_HOME 2020-12-17 08:43:30 +01:00
Kay Marquardt (Gnadelwartz)
1dd546b037 add bin directory to distribution 2020-12-16 18:01:16 +01:00
Kay Marquardt (Gnadelwartz)
f762d22958 fix: jssjDB path must not contain more than one .. 2020-12-16 17:46:55 +01:00
Kay Marquardt (Gnadelwartz)
16448a9f60 factor out broadcast command 2020-12-16 17:41:14 +01:00
Kay Marquardt (Gnadelwartz)
e6223b6645 start of ready to use scripts 2020-12-16 13:45:59 +01:00
Kay Marquardt (Gnadelwartz)
85ee75705a fix some update messages are ignored 2020-12-16 00:09:32 +01:00
Kay Marquardt (Gnadelwartz)
5b94265b09 optimize logging 2020-12-15 20:53:42 +01:00
Kay Marquardt (Gnadelwartz)
32a6ef2cc6 try to avoid empty DEBUG.log file 2020-12-15 17:19:09 +01:00
Kay Marquardt (Gnadelwartz)
9d39fe181b JSON.awk documentation 2020-12-15 17:06:37 +01:00
Kay Marquardt (Gnadelwartz)
c084005106 add support for JSON.awk, 5 times faster 2020-12-15 16:36:27 +01:00
Kay Marquardt (Gnadelwartz)
d7d61a411f sendJson: factor out curl/wget, better log. fix git-add.sh 2020-12-15 10:40:20 +01:00
Kay Marquardt (Gnadelwartz)
8379a624e3 sendJson check chat is a number 2020-12-15 10:12:18 +01:00
Kay Marquardt (Gnadelwartz)
2e24918beb debug log sentMessage also 2020-12-15 10:07:43 +01:00
Kay Marquardt (Gnadelwartz)
4442382a10 option to ignore commands for other bots if admin 2020-12-14 20:35:45 +01:00
Kay Marquardt (Gnadelwartz)
d1f2bc8137 escape more reserved characters for markdown v2 2020-12-14 17:53:47 +01:00
Kay Marquardt (Gnadelwartz)
5ca6afc496 start using markdown v2 in mycommands 2020-12-14 16:26:27 +01:00
Kay Marquardt (Gnadelwartz)
84b893cc6d adjust messages in commands.sh 2020-12-14 15:43:50 +01:00
Kay Marquardt (Gnadelwartz)
dfe9c7ec85 adjust messages in commands.sh 2020-12-14 15:40:18 +01:00
Kay Marquardt (Gnadelwartz)
3c1ea93168 try recover from block in update loop 2020-12-14 14:00:23 +01:00
Kay Marquardt (Gnadelwartz)
3496a21d62 fix edit_message documentation 2020-12-13 20:36:16 +01:00
Kay Marquardt (Gnadelwartz)
78ddc1f4e6 add edit_message documentation 2020-12-13 19:10:12 +01:00
Kay Marquardt (Gnadelwartz)
c8f61afda9 fix misspelled internal function 2020-12-13 18:25:46 +01:00
Kay Marquardt (Gnadelwartz)
da7b1bccbf fix misst quotaion mark in _formated_message_url 2020-12-13 18:07:27 +01:00
Kay Marquardt (Gnadelwartz)
a25f876a06 fix editMessage parameter desc 2020-12-13 17:25:44 +01:00
Kay Marquardt (Gnadelwartz)
4f600e26de first editMessage implementation 2020-12-13 17:19:52 +01:00
Kay Marquardt (Gnadelwartz)
898a794cb2 prepare for editMessage 2020-12-13 16:23:03 +01:00
Kay Marquardt (Gnadelwartz)
931598f558 check interactive working ... 2020-12-13 15:44:17 +01:00
Kay Marquardt (Gnadelwartz)
975d0147f4 remove old workaround preventing interactive to work 2020-12-13 15:26:48 +01:00
Kay Marquardt (Gnadelwartz)
eda77f8b55 add /_migrate_group to mycommands.sh example 2020-12-13 12:44:14 +01:00
Kay Marquardt (Gnadelwartz)
da7a3f1f21 detect supergroup migration 2020-12-13 12:00:18 +01:00
Kay Marquardt (Gnadelwartz)
22741d9a0c fix no need for JsonDecode 2020-12-13 10:24:26 +01:00
Kay Marquardt (Gnadelwartz)
cdb63b8c76 optimze venue and contact detection 2020-12-13 10:10:15 +01:00
Kay Marquardt (Gnadelwartz)
401a31a172 less grep in process_message 2020-12-13 09:57:57 +01:00
Kay Marquardt (Gnadelwartz)
b9cfd4b5e8 process service messages in groups only 2020-12-13 08:53:29 +01:00
Kay Marquardt (Gnadelwartz)
336f00bb3c fix BOTSENT spelling 2020-12-07 18:34:23 +01:00
Kay Marquardt (Gnadelwartz)
5db2ef6f30 add BOTSENT[ID] to documentation 2020-12-07 18:29:37 +01:00
Kay Marquardt (Gnadelwartz)
10c104d471 check for locale C 2020-12-07 15:50:56 +01:00
Kay Marquardt (Gnadelwartz)
62cab32da5 bottoken starts with bot id 2020-12-05 14:11:21 +01:00
Kay Marquardt (Gnadelwartz)
04ec4baab2 fix test with existing config 2020-12-04 21:35:21 +01:00
Kay Marquardt (Gnadelwartz)
d6e1c222f7 optimize getBotName 2020-12-03 20:43:20 +01:00
Kay Marquardt (Gnadelwartz)
59c51afb52 default to nobody 2020-12-03 14:58:32 +01:00
Kay Marquardt (Gnadelwartz)
658fac607c fix .jssh files in gitignore 2020-12-03 14:54:45 +01:00
Kay Marquardt (Gnadelwartz)
40106ee163 offer to check bottoken online on first init 2020-12-03 14:52:35 +01:00
Kay Marquardt (Gnadelwartz)
b0281f1f32 fix bot_is_admin 2020-12-03 14:25:32 +01:00