Archived
1
0
Fork 0
Commit graph

685 commits

Author SHA1 Message Date
yzhh
37effbddb4 i18nized for core function 2023-03-05 19:15:44 +08:00
yzhh
5d3949787e update 2023-03-04 18:17:07 +08:00
yzhh
10ee2c61e4 update 2023-03-04 18:13:34 +08:00
yzhh
38750a2c51 update 2023-03-04 18:08:40 +08:00
yzhh
9d54cae5ce #482 2023-03-04 17:41:03 +08:00
yzhh
fcd43855b9
Merge branch 'master' into dev/#478 2023-03-04 17:04:35 +08:00
yzhh
2f1d342866 #478 #481 2023-03-04 16:51:56 +08:00
yzhh
388e6c3a74 Fix potential function loop 2023-03-02 01:50:56 +08:00
yzhh
cd6113685d #446 2023-03-01 21:41:42 +08:00
多羅狼
9bf6dc101c
add zh_tw 2023-03-01 19:38:39 +08:00
yzhh
a31c2520ba add full i18n for chemical code 2023-03-01 17:10:45 +08:00
yzhh
b49424051d Update message.py 2023-02-28 01:36:30 +08:00
yzhh
ee4295229c update 2023-02-22 16:29:03 +08:00
yzhh
fa0ec62e41 update 2023-02-17 18:57:13 +08:00
yzhh
b9556afc09 disable ssl check if debug mode is enabled 2023-02-08 14:25:35 +08:00
yzhh
c854673554 compute the whole prompt length instead of parts 2023-02-08 13:57:29 +08:00
yzhh
ab4f24e617 bugfix 2023-02-08 02:45:40 +08:00
yzhh
f003598d12 Update http.py 2023-02-08 02:36:18 +08:00
yzhh
e60dfd1bd3 Update image_table.py 2023-02-08 02:34:51 +08:00
yzhh
254b26d305 bugfix 2023-02-08 02:31:22 +08:00
yzhh
517f8e630d add fallback for local webrender if it is unavailable 2023-02-08 01:55:45 +08:00
Dianliang233
e5b462ee2e Add append_instruction 2023-02-07 09:12:52 +08:00
yzhh
3ce1eb94a0 update 2023-02-06 18:48:09 +08:00
yzhh
a6972ddd91 #441 2023-02-05 22:33:33 +08:00
yzhh
b684a12912 #438 2023-02-04 22:42:21 +08:00
yzhh
88723c8ee3 Revert "Update internal.py"
This reverts commit 2a997fb693.
2023-02-03 23:48:29 +08:00
yzhh
2a997fb693 Update internal.py 2023-02-03 23:46:01 +08:00
yzhh
f93d0db949 Update bot.py 2023-01-31 22:42:02 +08:00
yzhh
d609d3a1fe #418 2023-01-31 20:31:10 +08:00
yzhh
b6092eaf6a Update bot.py 2023-01-31 19:04:07 +08:00
yzhh
3346f41aa7 Do not request google play when IP country is China 2023-01-31 19:03:14 +08:00
yzhh
d18f2d2ac3 auto code cleanup 2023-01-28 13:53:11 +08:00
yzhh
35d64c61d3
Merge pull request #422 from Light-Beacon/reload
Module Reload
2023-01-28 13:45:33 +08:00
yzhh
6962caaf35 Merge branch 'reload' of https://github.com/Light-Beacon/akari-bot into pr/422 2023-01-28 13:44:33 +08:00
yzhh
05a8ab4bd1 Update __init__.py 2023-01-28 13:44:03 +08:00
Light Beacon
687d157b00 fix bug 2023-01-27 17:26:05 +08:00
yzhh
90dcd51efe Update __init__.py 2023-01-27 16:04:22 +08:00
yzhh
4f75bf2459 Update __init__.py 2023-01-27 16:02:04 +08:00
yzhh
e15f56909c Revert "add waitAnyoneReply func"
This reverts commit d0c97a539a.
2023-01-27 15:59:02 +08:00
yzhh
d0c97a539a add waitAnyoneReply func 2023-01-27 15:58:03 +08:00
Light Beacon
ca5f018f14 fix some bugs 2023-01-26 21:21:46 +08:00
Light Beacon
b5183a88c0 Merge branch 2023-01-26 15:33:50 +08:00
Light Beacon
9962b7058b module reload 2023-01-26 15:31:13 +08:00
yzhh
e979ab7bac update 2023-01-19 22:46:35 +08:00
yzhh
b7f95c1255 Update image_table.py 2023-01-19 22:31:02 +08:00
yzhh
9609a099f5 update 2023-01-19 14:30:46 +08:00
yzhh
d79083849e update 2023-01-17 18:24:17 +08:00
yzhh
f69c6048bc Update http.py 2023-01-16 19:46:55 +08:00
yzhh
f1735b4cdd update 2023-01-16 17:15:14 +08:00
yzhh
cdb6a17aa9 rewrite http utils 2023-01-16 14:46:37 +08:00
yzhh
477c2e3c3f update 2023-01-15 19:29:15 +08:00
yzhh
f6e9bb0778 fixed an encoding error
damn gbk
2023-01-12 15:51:03 +08:00
yzhh
a507ceb7b7 Update message.py 2022-12-08 17:16:53 +08:00
yzhh
257660aecf stop logging pollution from wiki_inline 2022-12-08 17:13:48 +08:00
yzhh
05cffcd7cc update arcaea module
1. Add `arcaea switch` command for switch default query api to official api or botarcapi
2. Missing assets now will automatically downloaded from botarcapi server
2022-11-19 17:25:58 +08:00
yzhh
501a39bb34 Revert "Revert "Update __init__.py""
This reverts commit be417419ce.
2022-09-16 22:10:04 +08:00
yzhh
be417419ce Revert "Update __init__.py"
This reverts commit dac5d2766a.
2022-09-13 15:38:46 +08:00
yzhh
dac5d2766a Update __init__.py 2022-09-13 15:32:40 +08:00
yzhh
de68c2a8dd Update message.py 2022-09-01 23:40:03 +08:00
yzhh
d2d2cc1bb2 Update message.py 2022-08-31 23:30:09 +08:00
yzhh
c36cebe956 Update message.py 2022-08-31 23:05:42 +08:00
yzhh
6c1d39b522 update 2022-08-31 23:02:11 +08:00
yzhh
d4d06c767a add auto-parse infobox, section, image and sound in urls to wiki_inline module 2022-08-31 22:31:19 +08:00
yzhh
73ffb62c47 optimization import 2022-08-30 20:49:01 +08:00
yzhh
ff0dde1609 temporarily disable typo check 2022-08-30 16:33:08 +08:00
yzhh
10df3085ad add execution timer to parser 2022-08-28 00:30:34 +08:00
yzhh
23529f813e split core module functions 2022-08-28 00:17:01 +08:00
yzhh
f2ae2839fd #315 2022-08-27 22:02:26 +08:00
yzhh
5da179e570 fixes 2022-08-27 02:51:56 +08:00
yzhh
e4a096dd8a rewrite function
undone, just save works
2022-08-26 02:43:23 +08:00
yzhh
a9138424a4 bugfix 2022-08-23 15:36:07 +08:00
yzhh
2f389a2744 Update command.py 2022-08-23 12:53:34 +08:00
yzhh
ff22ac8aed add webrender_local config field 2022-08-21 11:22:45 +08:00
yzhh
01001bb6c5 bugfix 2022-08-19 02:10:42 +08:00
yzhh
e58fdd8c25 compatible with py38 2022-08-18 23:26:26 +08:00
yzhh
943296c7b4 move to builtins due to circular import 2022-08-18 23:25:42 +08:00
Dianliang233
dac2641d6d
Add Template string formatting 2022-08-18 15:31:24 +08:00
Dianliang233
cbf5d40c84
Add locale settings 2022-08-18 13:46:18 +08:00
Dianliang233
52c893540a
Add i18n util 2022-08-18 09:16:48 +08:00
yzhh
1eda403bf6 Update __init__.py 2022-08-17 02:52:50 +08:00
yzhh
2e5ad91282 Update __init__.py 2022-08-17 02:52:46 +08:00
yzhh
f8c4ae5032 bugfix
deepcopy
2022-08-15 17:54:24 +08:00
yzhh
d88111550e Update args.py 2022-08-15 17:12:27 +08:00
yzhh
3bfc8f9961 Update __init__.py 2022-08-15 14:09:22 +08:00
yzhh
4fe83351e4 bugfix 2022-08-15 14:04:07 +08:00
yzhh
836ef79a99 bugfix 2022-08-13 15:13:30 +08:00
yzhh
15ecb25a33 Update args.py 2022-08-11 20:14:27 +08:00
yzhh
e886c2830d bugfix 2022-08-10 17:54:07 +08:00
yzhh
f9d4e5ad76 update 2022-08-10 17:10:35 +08:00
yzhh
8aa65f13a8 bugfix 2022-08-10 01:02:50 +08:00
yzhh
81475b849c bugfix 2022-08-10 00:38:03 +08:00
yzhh
be97b8f592 fixes 2022-08-09 01:02:25 +08:00
yzhh
f1a76f602d remove docopt from utils 2022-08-09 00:05:01 +08:00
yzhh
fd4cf8b743 bugfixes 2022-08-08 22:55:11 +08:00
yzhh
d34028fb28 fixes 2022-08-08 19:29:02 +08:00
yzhh
6482b2076e update 2022-08-08 17:10:35 +08:00
yzhh
f5a14d6f8b fixes 2022-08-08 16:53:35 +08:00
yzhh
6f7f0bffc2 fixes 2022-08-08 01:56:38 +08:00
yzhh
7cec840633 update 2022-08-06 21:39:24 +08:00
yzhh
fa0eea4d92 rewrite arguments parser test
Fulfill basic needs
2022-08-06 02:13:56 +08:00
yzhh
9e0abf008d #309 2022-08-04 23:52:53 +08:00
yzhh
eaacc0a0a4 add debug mode 2022-08-04 15:52:42 +08:00
yzhh
007e32a1b9 Update message.py 2022-08-04 15:00:40 +08:00
多洛狼
d7fcc8d4bc Update message.py 2022-08-03 23:35:38 +08:00
yzhh
20f7df865d bugfix for tos function 2022-08-03 19:24:00 +08:00
yzhh
49ef8c8d3d Update http.py 2022-08-01 23:14:29 +08:00
yzhh
606ea8aef1 update 2022-08-01 23:09:59 +08:00
yzhh
c2ce3bd5b2 workaround for a bug from go-cqhttp 2022-07-31 20:02:59 +08:00
yzhh
bb7ffec2ef auto code cleanup 2022-07-31 16:33:20 +08:00
yzhh
b41143dd5d optimized imports 2022-07-31 16:28:23 +08:00
yzhh
d2d87a858e send prompt when restart if someone uses command that includes wait function 2022-07-30 16:21:00 +08:00
yzhh
943d901cad bugfix 2022-07-29 12:04:10 +08:00
yzhh
9e0a93c487 change time range 2022-07-28 23:53:15 +08:00
yzhh
3d042aafa7 add allow_request_localhost option to config 2022-07-28 01:09:52 +08:00
yzhh
0205ac30e0 move some tos functions to main db 2022-07-27 22:32:16 +08:00
yzhh
fd384f00bf Update http.py 2022-07-23 00:01:23 +08:00
Dianliang233
ecebb36ef1
SECURITY: Deny private IP requests 2022-07-22 22:59:28 +08:00
yzhh
c26990e7fa Update message.py 2022-07-22 01:50:28 +08:00
yzhh
f03131bd9e Update message.py 2022-07-18 21:40:50 +08:00
yzhh
4cebff66b1 bugfix 2022-07-18 20:53:20 +08:00
yzhh
c7f0e7d7d6 custom command alias & prefix + typo check 2022-07-18 20:34:00 +08:00
yzhh
479d8f0cf9 add basic analytics 2022-07-14 21:23:15 +08:00
yzhh
e8592e894f rewrite mod_dl module 2022-07-14 13:31:47 +08:00
yzhh
6ab373afdc move ErrorMessage from core.element.others to core.element.internal 2022-07-03 14:05:40 +08:00
yzhh
ec61d21d24 Update command.py 2022-07-01 22:15:32 +08:00
yzhh
a3d799fa24 Update __init__.py 2022-07-01 22:14:26 +08:00
yzhh
bf757d5cd5 remove Option component 2022-07-01 22:12:26 +08:00
yzhh
a9730c421f Update logger.py 2022-07-01 14:34:35 +08:00
yzhh
56afad3ab6 Update logger.py 2022-07-01 14:30:06 +08:00
yzhh
bd61e8b03b using loguru 2022-07-01 14:26:41 +08:00
yzhh
b3c02573e4 Update internal.py 2022-06-30 14:35:17 +08:00
yzhh
13794d293f update 2022-06-29 00:10:44 +08:00
yzhh
d16e8bd3df support using wikibase to query other language versions of the current page 2022-06-28 22:55:24 +08:00
yzhh
ed12ae7271 update 2022-06-28 16:47:00 +08:00
yzhh
d4025869aa add wiki search 2022-06-28 14:59:25 +08:00
yzhh
f568544394 introduce wait for reply function 2022-06-28 14:11:03 +08:00
yzhh
8a80679ce6 rewrite message tasks manager 2022-06-28 01:00:00 +08:00
yzhh
c2415fd43b update 2022-06-26 14:06:26 +08:00
yzhh
e73c730dd7 update 2022-06-23 21:51:53 +08:00
yzhh
a76eca9523 Update bot.py 2022-06-22 22:28:17 +08:00
yzhh
67d7b347e5 Update bot.py 2022-06-22 22:22:18 +08:00
yzhh
7a629f6634 Update bot.py 2022-06-22 22:19:13 +08:00
yzhh
f93ab244f4 update 2022-06-20 21:49:11 +08:00
yzhh
796a7854de update 2022-06-19 20:39:52 +08:00
yzhh
26622b87a4 update 2022-06-19 10:16:04 +08:00
yzhh
b05a3021ba Update message.py 2022-06-19 10:10:46 +08:00
yzhh
7936266775 add basic command autotest & bugfixes 2022-06-19 00:21:59 +08:00
yzhh
70fe7baab6 add timer & stop command to chemical code 2022-06-18 14:03:40 +08:00
yzhh
00d4579bae bugfix 2022-06-18 13:21:22 +08:00
yzhh
958ce0ebf9 bugfix 2022-06-18 13:18:45 +08:00
yzhh
83a1ff472a Update message.py 2022-06-17 22:16:25 +08:00
yzhh
acd342b7f9 Update message.py 2022-06-17 22:05:33 +08:00
yzhh
44fa29b4e2 chemical code 2022-06-17 13:59:15 +08:00
yzhh
187322301d Update message.py 2022-06-16 22:02:39 +08:00
yzhh
79c4683432 Update message.py 2022-06-16 21:28:07 +08:00
yzhh
3fb326f856 support disable tos function 2022-06-16 19:49:41 +08:00
yzhh
03ad429e23 noooooooooooooooooo neeeeeeeeeeeeeeeeeeeeeed reqqqqqqqqqqqquestssssssssss annnnnnnnnnnnnnnymoooooooooore 2022-06-14 20:41:58 +08:00
yzhh
cb6c2b57c4 fixed alias doesn't works properly 2022-06-14 11:32:48 +08:00
yzhh
5a0b3f3f92 Update bot.py 2022-06-13 20:19:26 +08:00
yzhh
06533bd5d7 storing data into database 2022-06-12 22:30:02 +08:00
yzhh
73641865b3 rename modules to module list due to confusion at sometimes 2022-06-12 16:08:44 +08:00
yzhh
660ba179df code cleanup 2022-06-12 15:07:53 +08:00
yzhh
5419986563 module list -> modules 2022-05-26 00:15:08 +08:00
yzhh
625076cac1 remove unused files 2022-05-22 23:23:12 +08:00
yzhh
5a943b641a update 2022-05-22 23:10:24 +08:00
yzhh
4dc551a25f update 2022-05-22 23:05:06 +08:00
yzhh
c3e4c359ff Update message.py 2022-05-22 22:50:46 +08:00
yzhh
ec7fe4b305 Update message.py 2022-05-22 22:48:07 +08:00
yzhh
acc146a4a5 Update message.py 2022-05-22 22:42:54 +08:00
yzhh
7f32145323 Update message.py 2022-05-22 22:36:37 +08:00
yzhh
bb4a496974 logging 2022-05-22 22:09:38 +08:00
yzhh
0c79f15b7c bugfix 2022-05-22 21:57:39 +08:00
yzhh
ecb99df7ae FinishedException 2022-05-22 00:04:29 +08:00
yzhh
ccef2e6e40 Update message.py 2022-05-15 23:55:04 +08:00
yzhh
3a6a5162fe Update message.py 2022-05-12 22:25:22 +08:00
yzhh
0b085cec64 Revert "temporary change logging level for test"
This reverts commit 55d8621007.
2022-05-08 23:28:12 +08:00
yzhh
55d8621007 temporary change logging level for test 2022-05-08 23:23:56 +08:00
yzhh
fc68d9ba8d test 2022-05-08 23:15:20 +08:00
yzhh
cf6ba4397d test 2022-05-08 23:13:29 +08:00
yzhh
1e453bae08 fixed an logger format issue 2022-05-08 14:32:42 +08:00
yzhh
2ce6a25e5c Update client.py 2022-05-08 13:48:16 +08:00
yzhh
24aa5d0712 update anti-autofilter wordlist 2022-04-23 22:32:08 +08:00
yzhh
7acf2f2739 temporarily disable dungeons module 2022-04-23 22:22:56 +08:00
yzhh
ce7b0f0d10 Update message.py 2022-04-14 18:57:20 +08:00
yzhh
d4723754dc Update chain.py 2022-04-04 14:20:22 +08:00
yzhh
0275abb5c4 convert discord embed 2022-04-04 14:16:39 +08:00
yzhh
8cfdaa2da2 update 2022-04-01 22:55:21 +08:00
yzhh
3bc048ea6b mention 2022-03-16 19:20:30 +08:00
yzhh
96ae41cdb7 . 2022-03-05 21:34:08 +08:00
yzhh
cbebb93d1b Update __init__.py 2022-02-27 18:43:21 +08:00
yzhh
cf4a107352 Revert "Update component.py"
This reverts commit b433283dfa.
2022-02-25 22:22:57 +08:00
yzhh
b433283dfa Update component.py 2022-02-24 23:48:20 +08:00
yzhh
0ed82bb870 Update __init__.py 2022-02-06 20:36:13 +08:00
yzhh
1608c18def enable middleman and disable poke for security
for QQ
2022-02-06 17:39:18 +08:00
yzhh
f9a1812599 disable auto approve friend requests 2022-02-04 15:24:02 +08:00
yzhh
47d8b444c3 Update message.py 2022-02-02 13:16:49 +08:00
yzhh
42ada25131 update 2022-01-29 19:25:23 +08:00
yzhh
d165d6525b Update __init__.py 2022-01-29 16:49:13 +08:00
yzhh
ebf7115e8d pageid query support for wiki module 2022-01-27 21:16:53 +08:00
yzhh
0ef1033e26 . 2022-01-26 22:13:36 +08:00