yzhh
c1b2184cff
Update i18n.py
2023-04-21 16:47:46 +08:00
yzhh
8a818c1713
rename
2023-04-19 16:38:23 +08:00
yzhh
707adb1c92
Update __init__.py
2023-04-19 16:34:16 +08:00
yzhh
f11b6c641a
remove unused function in loader
2023-04-19 16:29:46 +08:00
yzhh
019d1289df
op import
2023-04-19 15:41:39 +08:00
yzhh
4b9f4dd139
Update __init__.py
2023-04-17 16:55:55 +08:00
yzhh
d79a355224
well
2023-04-16 15:46:17 +08:00
yzhh
367c369694
ELEGANT
2023-04-16 15:44:17 +08:00
多羅狼
23dc5a998f
Unified format
2023-04-14 22:52:45 +08:00
yzhh
0f1967ab20
update
2023-04-12 14:11:44 +08:00
yzhh
7363b95e56
Merge branch 'master' of https://github.com/Teahouse-Studios/akari-bot
2023-04-11 18:46:06 +08:00
yzhh
d5f4bf4724
update
2023-04-11 18:46:02 +08:00
Dianliang233
5ff973e1d0
Merge pull request #537 from z0z0r4/get_url
...
feat: get_url params
2023-04-09 17:16:41 +08:00
yzhh
b27b0a95e1
Update message.py
2023-04-09 10:33:43 +08:00
z0z0r4
e8cf7f558d
feat: get_url params
...
aiohttp 支持传入 params
2023-04-09 07:21:00 +08:00
yzhh
2d9afdc4a7
Update message.py
2023-04-09 01:51:57 +08:00
yzhh
931551b2e9
Update __init__.py
2023-04-09 01:47:11 +08:00
yzhh
2d7cb903ba
safe load
2023-04-09 01:42:48 +08:00
yzhh
f71112a3e0
update
2023-04-09 01:01:27 +08:00
yzhh
8e6bb06f5d
Update message.py
2023-04-08 19:31:25 +08:00
yzhh
1ef9957b0a
Update message.py
2023-04-08 17:31:53 +08:00
yzhh
d8fd827114
Update message.py
2023-04-08 15:28:29 +08:00
多羅狼
66efde1d1f
add i18n strings
2023-04-08 15:23:08 +08:00
多羅狼
a0e263f33f
i18n & fix strings
2023-04-08 15:05:26 +08:00
yzhh
42ab6b1c40
fix a reply bug in wiki module
2023-04-07 12:55:14 +08:00
yzhh
71c8fc23ae
Update message.py
2023-04-05 13:41:03 +08:00
yzhh
39b29aca7b
fix
2023-04-05 13:36:11 +08:00
yzhh
4e25b5293e
#517
2023-04-05 12:33:29 +08:00
yzhh
dc59764209
bugfix
2023-04-05 00:36:07 +08:00
yzhh
39330d5d62
support i18n for post message #507
2023-03-29 22:42:53 +08:00
Dianliang233
1af27b1285
Add tweet module, closes #489
2023-03-18 22:08:49 +08:00
yzhh
378673f65b
bugfix
2023-03-14 18:14:05 +08:00
yzhh
eab2d140cf
Update i18n.py
2023-03-14 01:52:20 +08:00
yzhh
b449d876d8
add fallback failed prompt
2023-03-14 01:50:54 +08:00
yzhh
db38ddcd93
bugfix
2023-03-09 13:38:04 +08:00
yzhh
5369601b31
i18nized for core modules
2023-03-08 19:40:16 +08:00
yzhh
8d2eef3106
Update bot.py
2023-03-05 19:18:42 +08:00
yzhh
e127fd5f5f
update
2023-03-05 19:17:40 +08:00
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