Archived
1
0
Fork 0
Commit graph

1397 commits

Author SHA1 Message Date
yzhh
a1830a3354 Update screenshot_image.py 2023-02-03 23:25:16 +08:00
yzhh
d7a61f3c08 Update screenshot_image.py 2023-02-03 23:21:01 +08:00
yzhh
a07ff54c25 remove test notice 2023-02-03 23:19:45 +08:00
yzhh
aa4441cbdc Update __init__.py 2023-02-03 21:32:13 +08:00
多羅狼
28c0a00647
Update __init__.py 2023-02-03 17:25:50 +08:00
多羅狼
4a7ee5d878
revert 2023-02-03 00:18:02 +08:00
多羅狼
717153b7d3
🤔 2023-02-03 00:15:02 +08:00
多羅狼
5a687a2fff
Update __init__.py 2023-02-03 00:11:32 +08:00
多羅狼
0cc0184a2b
Update __init__.py 2023-02-03 00:06:21 +08:00
多羅狼
cea148d563
Update __init__.py 2023-02-02 23:58:53 +08:00
多羅狼
3804da08f7
Update __init__.py 2023-02-02 23:49:58 +08:00
yzhh
c4eda876de Update wikilib.py 2023-02-01 19:04:13 +08:00
yzhh
2d3062373e Update wikilib.py 2023-02-01 13:00:12 +08:00
yzhh
69520fa543 Update wikilib.py 2023-02-01 12:53:12 +08:00
yzhh
c3a3a2f141 Update utils.py 2023-01-31 20:49:22 +08:00
yzhh
1a6a9c9974 Update utils.py 2023-01-31 20:48:09 +08:00
yzhh
ac5b5b4cd8 Update utils.py 2023-01-31 20:37:55 +08:00
yzhh
d609d3a1fe #418 2023-01-31 20:31:10 +08:00
yzhh
a4add046b1 Revert "hide mcbv_rss module when IP country is China"
This reverts commit 471cffe317.
2023-01-31 19:11:34 +08:00
yzhh
471cffe317 hide mcbv_rss module when IP country is China 2023-01-31 19:07:38 +08:00
yzhh
3346f41aa7 Do not request google play when IP country is China 2023-01-31 19:03:14 +08:00
yzhh
37d6ef6256 Update inline.py 2023-01-29 22:33:16 +08:00
yzhh
7bf1274f5e fix #431 2023-01-29 22:08:55 +08:00
yzhh
e7700099d7 add .rotable to infobox list 2023-01-29 21:11:43 +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
1db10324cf #420 2023-01-27 19:20:11 +08:00
Light Beacon
687d157b00 fix bug 2023-01-27 17:26:05 +08:00
yzhh
3279ab51df compatible with py38; auto code cleanup 2023-01-27 16:18:47 +08:00
yzhh
e87fd3ad3a fix a potential calculate bug 2023-01-26 23:40:57 +08:00
Light Beacon
9d9eb33762 forget to del 2023-01-26 21:30:34 +08:00
Light Beacon
ca5f018f14 fix some bugs 2023-01-26 21:21:46 +08:00
yzhh
b52e1f655b add a useful tips for rc and ab commands 2023-01-26 17:28:28 +08:00
Light Beacon
fe314b0f79 su only 2023-01-26 15:49:44 +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
Light Beacon
91c08b40e5 improve code 2023-01-26 15:16:11 +08:00
b60254
091dd85d17 Add AA ranks
5a6e521f46
2023-01-25 15:19:59 -10:00
yzhh
3d8f44c74e Update wiki.py 2023-01-24 00:44:24 +08:00
yzhh
3cd2b22c9c Merge branch 'master' of https://github.com/Teahouse-Studios/akari-bot 2023-01-23 17:04:09 +08:00
yzhh
ec59922594 :rina: 2023-01-23 17:02:30 +08:00
Dianliang233
82b96c6cb0 Use asDisplay for calc 2023-01-22 20:28:09 +08:00
Dianliang233
cd8396c5a1 Add wiki link to help msg 2023-01-22 13:40:53 +08:00
Dianliang233
4840efb858 Improve stderr decode 2023-01-21 17:08:04 +08:00
Dianliang233
f0dc43702a [SECURITY] Fix calc Shell Injection vulnerability 2023-01-21 17:01:10 +08:00
多洛狼
6d54165393 Update __init__.py 2023-01-21 15:11:13 +08:00
多洛狼
6e478b9f3a Update calc.py 2023-01-21 14:59:51 +08:00
多洛狼
c5ff5e0c64 Update default_bi_zh-cn_en.txt 2023-01-21 14:54:56 +08:00
多洛狼
4c528fc641 Update default_bi_zh-cn_en.txt 2023-01-21 02:16:59 +08:00
Dianliang233
4629bdae1d Improvements for calc 2023-01-20 22:47:39 +08:00
多洛狼
96f1840e42 Update default_bi_zh-cn_en.txt 2023-01-20 21:10:24 +08:00
多洛狼
c4aebc3cab Update default_bi_zh-cn_en.txt 2023-01-20 20:00:49 +08:00
多洛狼
4aa99474d6 Update default_bi_zh-cn_en.txt 2023-01-20 19:31:27 +08:00
Dianliang233
fa21f49c9b Add complex() 2023-01-20 16:45:13 +08:00
Dianliang233
04ea5be902 Add warning for case 2023-01-20 16:42:59 +08:00
Dianliang233
d3c37b6b45 Add help message for bitwise functions 2023-01-20 16:37:18 +08:00
Dianliang233
8beb2fe74a Add help message for complex num 2023-01-20 16:25:42 +08:00
Dianliang233
fbadc56d8f Fix volume for convert 2023-01-20 16:20:41 +08:00
Dianliang233
5ff02ca743 Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-20 16:13:24 +08:00
yzhh
1e58b79872 Update __init__.py 2023-01-20 16:01:07 +08:00
yzhh
d86fc4d297 update 2023-01-20 16:00:11 +08:00
Dianliang233
c58445cd0b Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-20 15:50:52 +08:00
Dianliang233
f9c4d3ea2d Add complex number functions 2023-01-20 15:50:42 +08:00
yzhh
76fb0b940b Update __init__.py 2023-01-20 15:46:05 +08:00
yzhh
c436271048 Update __init__.py 2023-01-20 15:43:52 +08:00
Dianliang233
bc827b7b61 Revert "Trim newline at the end"
This reverts commit 9ccffb65e7.
2023-01-20 15:28:17 +08:00
Dianliang233
869c57f8da Fix statistics 2023-01-20 15:03:41 +08:00
Dianliang233
9ccffb65e7 Trim newline at the end 2023-01-20 14:16:09 +08:00
yzhh
edf45c8322 Update __init__.py 2023-01-20 01:21:08 +08:00
yzhh
b62fae4ca9 Update __init__.py 2023-01-20 01:13:11 +08:00
yzhh
4453ec1198 Update calc.py 2023-01-20 00:45:30 +08:00
yzhh
8716f6cdc9 update 2023-01-20 00:45:15 +08:00
yzhh
6b1d03c5b0 Update __init__.py 2023-01-19 23:16:47 +08:00
yzhh
a098f73967 Update __init__.py 2023-01-19 23:16:32 +08:00
yzhh
68243b3d24 Update __init__.py 2023-01-19 23:12:02 +08:00
yzhh
f818d65978 Update __init__.py 2023-01-19 23:10:08 +08:00
yzhh
feacf66221 Create calc.py 2023-01-19 23:10:06 +08:00
yzhh
dea953d842 Update screenshot_image.py 2023-01-19 22:48:10 +08:00
yzhh
e979ab7bac update 2023-01-19 22:46:35 +08:00
多洛狼
c1418e01af Update __init__.py 2023-01-19 22:24:40 +08:00
Dianliang233
c46bd50f9c Fix and format dice 2023-01-19 22:22:14 +08:00
Dianliang233
08f62ed315 Limit calc to superuser 2023-01-19 21:46:06 +08:00
yzhh
eafe0c1ae0 Update inline.py 2023-01-19 20:42:00 +08:00
Light Beacon
cd88a92ab6 dice module 2023-01-19 20:02:49 +08:00
Dianliang233
19b8904a3c Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-19 19:52:08 +08:00
Dianliang233
5e51466c86 Add statistics functions to calc 2023-01-19 19:52:05 +08:00
多洛狼
008f309d2e Merge branch 'master' of https://github.com/Teahouse-Studios/akari-bot 2023-01-19 19:44:10 +08:00
多洛狼
e659808bf5 fix translation 2023-01-19 19:44:00 +08:00
Dianliang233
75df878b01 Add hard cap for all math functions 2023-01-19 19:27:31 +08:00
Dianliang233
d28b0647fb Disable all math functions 2023-01-19 17:53:41 +08:00
yzhh
729499d0b3 Update ip.py 2023-01-19 17:29:36 +08:00
Dianliang233
003784696b Wrap with async function
Finally now I can calc pi * (3 ** 2)
2023-01-19 17:09:56 +08:00
Dianliang233
430f56491c Fix await 2023-01-19 17:05:50 +08:00
Dianliang233
d63c609284 aio.timeout-> wait_for, ensure max compatibility 2023-01-19 17:03:47 +08:00
Dianliang233
43f6996955 Add Python math module functions to calc 2023-01-19 16:55:12 +08:00
多洛狼
b1fa602167 add coin 2023-01-19 16:44:46 +08:00
Dianliang233
798660e664 Remove debug logs 2023-01-19 15:31:50 +08:00
yzhh
c3063db18a Merge branch 'master' of https://github.com/Teahouse-Studios/akari-bot 2023-01-19 15:29:53 +08:00
yzhh
e00bace069 add NoReportException for calc module 2023-01-19 15:28:01 +08:00
Dianliang233
110329825a If private address reverse dns 2023-01-19 15:23:30 +08:00
Dianliang233
93b51733aa Fix bug 2023-01-19 15:18:11 +08:00
Dianliang233
1414df1acc Fix IPv6 private address 2023-01-19 15:14:13 +08:00
Dianliang233
b935072058 Fix private address 2023-01-19 15:12:34 +08:00
Dianliang233
61212ba75c Fix error on Linux 2023-01-19 14:43:23 +08:00
Dianliang233
b5a6b1a6f7 Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-19 14:39:10 +08:00
Dianliang233
ee2ff34a77 Add Whois 2023-01-19 14:39:06 +08:00
yzhh
9609a099f5 update 2023-01-19 14:30:46 +08:00
yzhh
7dadaa1027 update 2023-01-19 13:53:22 +08:00
Dianliang233
4a521799cc Add ip whois 2023-01-19 11:29:50 +08:00
Dianliang233
c8b3fca5d2 Merge branch 'master' of https://github.com/teahouse-studios/akari-bot 2023-01-19 10:48:15 +08:00
yzhh
8712600037 add blocklist for image render 2023-01-19 02:32:33 +08:00
yzhh
e1ebff7ff9 update 2023-01-17 18:51:18 +08:00
yzhh
0d91937723 Update screenshot_image_v2.py 2023-01-17 18:48:06 +08:00
yzhh
d79083849e update 2023-01-17 18:24:17 +08:00
Dianliang233
309a56e09b Add random module 2023-01-17 11:38:37 +08:00
Dianliang233
a81d91929b Introduce a saferish version of eval 2023-01-17 10:59:22 +08:00
yzhh
94e879ba87 support screenshot for template doc 2023-01-17 00:18:15 +08:00
yzhh
e8e5219e7d Update inline.py 2023-01-16 19:33:27 +08:00
yzhh
8ac5050a74 Merge branch 'master' of https://github.com/Teahouse-Studios/akari-bot 2023-01-16 17:15:17 +08:00
yzhh
f1735b4cdd update 2023-01-16 17:15:14 +08:00
Dianliang233
f02f83202d Fix bug for Linux 2023-01-16 17:03:36 +08:00
Dianliang233
402dd100a1 Add unit conversion 2023-01-16 16:58:41 +08:00
yzhh
e9d6ab8ee1 bugfix 2023-01-16 15:54:07 +08:00
yzhh
dd5c1f7cff Update wiki.py 2023-01-16 14:47:09 +08:00
yzhh
0681c2236b Create screenshot_image_v2.py 2023-01-16 14:47:04 +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
bbcb72bdeb Update rating.py 2023-01-08 17:31:30 +08:00
yzhh
f22948730f Update rating.py 2023-01-08 17:21:22 +08:00
yzhh
a43c0c852c trying to fix stretched background image bug 2023-01-07 15:16:33 +08:00
yzhh
253db28f8a Update __init__.py 2023-01-04 14:04:16 +08:00
yzhh
d0c4e90417 Update screenshot_image.py 2023-01-04 14:03:50 +08:00
yzhh
eb36d13264 Update song.py 2023-01-03 14:49:11 +08:00
yzhh
3de882eb5f update 2022-12-25 15:25:50 +08:00
yzhh
bd78bd0e5a update arcaea module
add `arcaea song` command
2022-12-25 14:25:23 +08:00
yzhh
685911fdc7 bruh 2022-12-18 22:28:04 +08:00
yzhh
3ac216f123 Update screenshot_image.py 2022-12-16 21:40:45 +08:00
yzhh
128c7c4c60 Update __init__.py 2022-12-16 00:00:33 +08:00
yzhh
78d13c17cb update 2022-12-15 23:58:41 +08:00
yzhh
dc9db4cc85 Update server.py 2022-12-15 23:45:29 +08:00
yzhh
6b6f1211ff fixed a display bug 2022-12-10 23:39:06 +08:00
yzhh
257660aecf stop logging pollution from wiki_inline 2022-12-08 17:13:48 +08:00
yzhh
0a3d5af6f6 add debug mode for minecraft_news module 2022-12-08 09:28:54 +08:00
yzhh
23b25af8f1 bugfix 2022-11-20 23:24:09 +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
334a2732a8 bugfix 2022-11-08 22:17:50 +08:00
yzhh
c596643e27 Update profile.py 2022-10-28 12:09:10 +08:00
b60254
888d0ce350 Fix commas 2022-10-27 17:44:48 -10:00
b60254
b709e09951 Fix missing grades, reorder grades 2022-10-27 17:44:29 -10:00
yzhh
33a6242ca2 oof 2022-10-22 23:03:00 +08:00
yzhh
6320c3131f Update server.py 2022-10-22 23:00:32 +08:00
xBoyMinemc
5556d01130
robustness++
before
add:19132  √
add 19132  X

now
add:19132  √
add 19132  √
2022-10-22 14:25:35 +00:00
多羅狼
fa3e726856
add space between kanji and number / letter 2022-10-22 15:30:22 +08:00
多羅狼
a85608ad8f
修改标点 2022-10-22 15:24:25 +08:00
多羅狼
bfb3d60962
Update __init__.py 2022-10-22 15:22:58 +08:00
多羅狼
ffdec75a28
Update __init__.py 2022-10-22 15:21:20 +08:00
yzhh
47e6c7795d Update modules.py 2022-10-07 21:13:04 +08:00
yzhh
b7a913bcdc Update screenshot_image.py 2022-10-04 16:40:59 +08:00
yzhh
ade8f0afdc Update drawb30img.py 2022-09-23 20:07:39 +08:00
yzhh
a48c497e7f bugfix 2022-09-22 17:10:17 +08:00
多洛狼
09a7e59d96 increase range 2022-09-17 22:53:01 +08:00
yzhh
f85a11577d auto code cleanup 2022-09-16 22:20:30 +08:00
yzhh
de502cefd7 Update su_utils.py 2022-09-13 22:22:53 +08:00
yzhh
d773bacb02 Update __init__.py 2022-09-09 00:03:30 +08:00
yzhh
3a05d20756 bugfix 2022-09-08 22:15:01 +08:00
yzhh
53dd0bd018 bugfix 2022-09-07 00:06:14 +08:00
yzhh
a23641135f split wiki module functions into individual files 2022-09-06 23:30:39 +08:00
yzhh
d91e48a2e4 update 2022-09-05 22:08:52 +08:00
yzhh
8956b1de79 Update bugtracker.py 2022-09-05 00:27:49 +08:00
yzhh
788b831bb3 update 2022-09-04 00:37:20 +08:00
yzhh
6fc1ed75bc Update __init__.py 2022-09-03 21:42:48 +08:00
yzhh
b9082ca3db Update wikilib.py 2022-09-02 19:14:52 +08:00
yzhh
3e028e85f6 Update __init__.py 2022-09-02 18:01:19 +08:00
yzhh
01ec7de380 fixed a potential bug 2022-09-02 18:00:22 +08:00
yzhh
d0c6e12420 Update __init__.py 2022-09-01 23:34:38 +08:00
yzhh
1ac3f1ce0b stop attempting to get page information from sites not marked as mediawiki 2022-09-01 23:05:17 +08:00
yzhh
bf3df25243 Update __init__.py 2022-09-01 00:40:06 +08:00
yzhh
d804fc82c5 Update __init__.py 2022-09-01 00:01:36 +08:00
yzhh
d381ef2354 Update __init__.py 2022-09-01 00:00:45 +08:00
yzhh
90660a62f6 Update __init__.py 2022-08-31 23:59:55 +08:00
yzhh
111928c06f Update __init__.py 2022-08-31 23:45:49 +08:00
yzhh
cb0eac677e Update __init__.py 2022-08-31 23:45:30 +08:00
yzhh
4d64790986 Update __init__.py 2022-08-31 23:39:41 +08:00
yzhh
8c48f75ac6 Update __init__.py 2022-08-31 23:35:00 +08:00
yzhh
199265fa8b Update __init__.py 2022-08-31 23:23:49 +08:00
yzhh
2dd37af4b0 Update wikilib.py 2022-08-31 23:16:24 +08:00
yzhh
cad6a58e20 Update wikilib.py 2022-08-31 23:13:17 +08:00
yzhh
6c1d39b522 update 2022-08-31 23:02:11 +08:00
yzhh
23fa622623 Update __init__.py 2022-08-31 23:00:23 +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
061e2e9149 Update repo.py 2022-08-31 12:06:01 +08:00
yzhh
b08d242ee6 split tasks 2022-08-30 21:05:03 +08:00
yzhh
0b21671695 move get-infobox, get-image, get-voice, wait-msg to background tasks 2022-08-30 20:56:06 +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
17004faad9 update 2022-08-28 01:51:43 +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
dae1afca42 Update __init__.py 2022-08-27 15:49:10 +08:00
yzhh
8f339767ba Update __init__.py 2022-08-27 15:42:34 +08:00