Archived
1
0
Fork 0
Commit graph

1021 commits

Author SHA1 Message Date
yzhh
dfde1c2cae Update info.py 2021-12-06 23:41:13 +08:00
yzhh
a5329930f0 update arcaea module 2021-12-06 23:32:27 +08:00
yzhh
808e599a4b use modified html2text
To remove link title
2021-12-06 20:49:50 +08:00
Dianliang233
eddfe06f9e
Rename "名字空间" to "命名空间" per translatewiki discussion 2021-12-04 16:51:43 +08:00
yzhh
03fb9ad72e Update wikilib_v2.py 2021-12-04 12:48:18 +08:00
yzhh
b7169a7972 Update wikilib_v2.py 2021-12-04 12:39:57 +08:00
Dianliang233
61514f2d33
Clean it up 2021-11-27 20:28:19 +08:00
Dianliang233
d837175ced
Too confusing 2021-11-27 20:18:02 +08:00
yzhh
74ba081c8a Update wikilib_v2.py 2021-11-24 21:07:03 +08:00
yzhh
e2f69dad22 Update wikilib_v2.py 2021-11-23 23:02:07 +08:00
yzhh
91d44b020d update issue template 2021-11-21 21:20:07 +08:00
yzhh
67f773d357 add limits for r r bug_regex 2021-11-21 00:03:32 +08:00
yzhh
3012e12206 replace old link 2021-11-20 23:30:03 +08:00
yzhh
f3b91203a3 Update teahouse.py 2021-11-20 22:47:22 +08:00
yzhh
c7cf0859ee Update __init__.py 2021-11-20 22:45:55 +08:00
Dianliang233
318776cebc
Fix ~github search 2021-11-20 09:35:38 +08:00
yzhh
a0ed34c655 add teahouse weekly 2021-11-20 01:50:34 +08:00
yzhh
e7e83ae62d Update __init__.py 2021-11-20 00:57:12 +08:00
yzhh
6df389c564 Update __init__.py 2021-11-20 00:46:10 +08:00
yzhh
9f2a0f8596 Update __init__.py 2021-11-20 00:36:30 +08:00
yzhh
f9dce522e3 global enable/disable test 2021-11-20 00:33:53 +08:00
yzhh
47addb56df bugfix 2021-11-19 20:50:13 +08:00
yzhh
40f2a473c9 bugfix 2021-11-18 00:17:41 +08:00
yzhh
2717d61a18 Update dbutils.py 2021-11-17 23:25:16 +08:00
yzhh
05cccd3586 add wikiblocklist 2021-11-17 21:17:13 +08:00
yzhh
5eff2deb3d Update dbutils.py 2021-11-16 22:30:49 +08:00
yzhh
e06f1dd13b guild support 2021-11-16 22:19:48 +08:00
yzhh
4b545216bf . 2021-11-16 00:34:36 +08:00
yzhh
37cf06dd15 why i do this
BlackList -> BlockList
WhiteList -> allowList
2021-11-16 00:26:11 +08:00
yzhh
d4ec479271 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-11-14 17:58:09 +08:00
yzhh
3f863fe1bc add toggle typing 2021-11-14 17:57:53 +08:00
yzhh
8fe01118bf
wait wait not that 2021-11-14 13:27:20 +08:00
yzhh
47f12cadf1
Update __init__.py 2021-11-14 13:26:10 +08:00
yzhh
2514a2d378 Update __init__.py 2021-11-13 17:13:28 +08:00
yzhh
6fc35668ef update 2021-11-12 22:43:04 +08:00
yzhh
11be9e095e update 2021-11-12 22:25:53 +08:00
yzhh
5a23f61704 improve regex match 2021-11-12 18:31:33 +08:00
yzhh
379f69281a Update wikilib_v2.py 2021-11-12 17:38:45 +08:00
yzhh
6cd397611a utfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutfutf 2021-11-10 23:54:45 +08:00
yzhh
3f73d474d0 add back random page 2021-11-10 23:05:21 +08:00
yzhh
9a8a0419b3 Update wikilib_v2.py 2021-11-10 19:44:24 +08:00
yzhh
553e0c1a55 bugfix? 2021-11-10 12:38:55 +08:00
yzhh
50d7220bde bugfix 2021-11-09 21:48:41 +08:00
yzhh
65444dc600
Update __init__.py 2021-11-09 11:10:40 +08:00
yzhh
535eb370b2
Update __init__.py 2021-11-09 10:58:29 +08:00
yzhh
c4e166bd8c update 2021-11-09 00:09:06 +08:00
yzhh
4c255ece7a ???????????????????? 2021-11-08 21:16:59 +08:00
yzhh
f0804ebce3 Update wikilib_v2.py 2021-11-08 21:14:40 +08:00
yzhh
00ccdd6086 Update wikilib_v2.py 2021-11-08 21:08:43 +08:00
yzhh
d065a627b7 update wiki iw list 2021-11-07 23:16:21 +08:00
yzhh
34abbaf457 Update wikilib_v2.py 2021-11-06 21:50:40 +08:00
yzhh
0eea586b2d Update __init__.py 2021-11-06 21:44:33 +08:00
yzhh
77ecbfa7cb Update wikilib_v2.py 2021-11-06 21:37:50 +08:00
yzhh
6344aee8dd Update __init__.py 2021-11-06 21:32:28 +08:00
yzhh
546124d9c0 Update __init__.py 2021-11-06 21:32:22 +08:00
yzhh
8774359ef0 Update __init__.py 2021-11-06 21:29:07 +08:00
yzhh
3e4efdf54c Update __init__.py 2021-11-06 21:27:11 +08:00
yzhh
7bbe6a74cf Update __init__.py 2021-11-06 21:22:00 +08:00
yzhh
46ed29fbde autofix(or mess up further) cytoid b30/r30 cover issue 2021-11-06 20:45:54 +08:00
yzhh
eee76bb019 bugfix 2021-11-06 20:01:37 +08:00
yzhh
d134ebcfd4 Update __init__.py 2021-11-05 22:11:55 +08:00
yzhh
0d8cea1402 add receive filter for aiocqhttp 2021-11-05 22:08:51 +08:00
yzhh
36265e47a8 Update action_cn.py 2021-11-05 21:15:38 +08:00
yzhh
866d4b0f47 new decorator for auto rollback invalid session 2021-11-03 19:27:21 +08:00
yzhh
a449851aaa try fix a database call error 2021-11-03 19:07:34 +08:00
yzhh
c94998ec79 add sitenotice regex expression for wiki_inline 2021-11-02 22:58:42 +08:00
yzhh
62b7be59f7 add timestamp verify for minecraft_news module 2021-11-02 19:14:21 +08:00
yzhh
22e2b4cb63 1 2021-11-02 01:06:19 +08:00
yzhh
18f7ba0c27 add back dirty word check for query wiki 2021-11-01 23:56:32 +08:00
yzhh
658afbb432
Merge branch 'master' into dev/wiki_whitelist 2021-11-01 22:04:08 +08:00
yzhh
11cec6392f enable wikilib v2 2021-10-31 23:59:18 +08:00
yzhh
62fd353999 change concurrent to single 2021-10-30 23:55:57 +08:00
yzhh
82d0021f0f Update dbutils.py 2021-10-28 23:44:45 +08:00
yzhh
952072a8f9 Update wikilib_new.py 2021-10-28 23:43:43 +08:00
yzhh
3ec2d13530 Update wikilib_new.py 2021-10-28 23:38:22 +08:00
yzhh
5e61bc4d70 bugfix 2021-10-24 21:19:37 +08:00
yzhh
68a49c799e new decorator 2021-10-24 18:55:45 +08:00
yzhh
9d078faf52 auto warning & temp ban 2021-10-20 22:04:30 +08:00
yzhh
4b64c00e18 bugfix 2021-10-17 01:01:41 +08:00
yzhh
991fccb950 add back interwiki alias 2021-10-16 01:45:02 +08:00
yzhh
dd620102bc update command parser 2021-10-16 01:36:22 +08:00
yzhh
337583ea21 try to fix regex function 2021-10-15 19:14:05 +08:00
yzhh
172dcbc645 Revert "change wiki_inline match mode to findall"
This reverts commit a5e8bf6d20.
2021-10-15 19:07:22 +08:00
yzhh
a5e8bf6d20 change wiki_inline match mode to findall 2021-10-15 19:03:48 +08:00
yzhh
c12e97855b ? 2021-10-14 23:29:59 +08:00
yzhh
12d9a07cc8 add StartUp elements 2021-10-14 22:49:12 +08:00
yzhh
01e9f19f10 add "on_" prefix for schedule decorator 2021-10-14 20:27:53 +08:00
yzhh
cedbde762b add "on_" prefix for regex decorator 2021-10-14 20:25:24 +08:00
yzhh
f5cb0e2df8 add "on_" prefix for command decorator 2021-10-14 20:22:58 +08:00
yzhh
898e0e67f4 move core.loader.decorator to core.decorator 2021-10-14 20:20:34 +08:00
yzhh
b2abd8a314 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-10-14 19:10:36 +08:00
yzhh
49a50e3070 Update __init__.py 2021-10-14 19:10:31 +08:00
yzhh
c64669a911
Update __init__.py 2021-10-14 07:02:12 +08:00
yzhh
904a9ff230 Update __init__.py 2021-10-14 00:24:45 +08:00
yzhh
df246d873a add docs for decorators; introduce regex decorator 2021-10-13 23:22:11 +08:00
yzhh
f032212b6c port mai-bot as module 2021-10-12 23:02:36 +08:00
yzhh
e36bc78403 new rc and ab 2021-10-11 22:45:28 +08:00
yzhh
86667fb264 feedback news api has request time limit, slow down the call 2021-10-10 20:45:31 +08:00
yzhh
15a9767fec use aiocqhttp 2021-10-08 19:54:27 +08:00
yzhh
0220a4dcda bugffix 2021-10-07 23:54:37 +08:00
yzhh
099b3adf08 Update wikilib_new.py 2021-10-03 15:36:46 +08:00
yzhh
ae04864040 Update wikilib_new.py 2021-10-03 15:30:17 +08:00
yzhh
deb564fdb0 Update wikilib_new.py 2021-10-03 14:54:16 +08:00
yzhh
fdc2e9b28e Update wikilib_new.py 2021-10-03 01:27:45 +08:00
yzhh
325f2a221b Create wikilib_new.py 2021-10-02 15:05:46 +08:00
yzhh
4dc309d240 Update __init__.py 2021-10-01 22:09:30 +08:00
yzhh
b1cac2e878 Update __init__.py 2021-10-01 22:00:35 +08:00
Dianliang233
b19221f75f
Add some recommend_modules 2021-10-01 10:34:54 +08:00
Dianliang233
499112f97b
Add feedback_news module
Closes #73
2021-10-01 10:28:33 +08:00
Dianliang233
dbb4c35bd9
Code cleanup 2021-10-01 10:01:12 +08:00
Dianliang233
c8a2e4cecb
Split mcv_rss into mcv_rss, mcbv_rss & mcdv_rss
Closes #74
2021-10-01 09:57:46 +08:00
Dianliang233
f6a66e6523
Correct statement 2021-10-01 09:20:18 +08:00
Dianliang233
e6c4bee841
Aduit test 2021-10-01 09:18:04 +08:00
yzhh
39005ffaec Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-09-30 23:57:30 +08:00
yzhh
298dd2e23d remove random sleep 2021-09-30 23:57:24 +08:00
yzhh
7b5390ff17
Update __init__.py 2021-09-30 13:08:58 +08:00
Gerongfenh
aa9938f7ae
Try to fix Teahouse-Studios/bot#70 2021-09-30 12:52:45 +08:00
yzhh
4009910417 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-09-29 23:36:09 +08:00
yzhh
4678d6475a fix #69 2021-09-29 23:35:50 +08:00
Dianliang233
92bc00d604
Audit wiki whitelist 2021-09-21 16:22:29 +08:00
Dianliang233
b6ef52f653
Add HTML lang 2021-09-21 09:47:57 +08:00
Dianliang233
ad2a1772cd
Add developers to all modules 2021-09-19 21:14:50 +08:00
Dianliang233
b4e61e5966
Debugging 2021-09-19 21:00:07 +08:00
Dianliang233
cc5ee7e4e7
Module dev credit
Fixes #65
2021-09-19 20:52:42 +08:00
yzhh
3fc886ecdd moreeeee retttttrtry cmmmeon 2021-09-16 23:55:46 +08:00
yzhh
0c17d51baf more retry 2021-09-13 12:39:49 +08:00
yzhh
0c2133293a Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-09-12 20:51:19 +08:00
yzhh
486895778e retry test 2021-09-12 20:51:13 +08:00
yzhh
81e5275a0f
Update __init__.py 2021-09-12 00:47:46 +08:00
yzhh
273832c057 fixed wiki headers function issue 2021-09-12 00:12:44 +08:00
yzhh
58e5be55f2 remove spg translation service 2021-09-11 18:47:38 +08:00
yzhh
8f3421774f Update __init__.py 2021-09-11 02:12:04 +08:00
yzhh
bb0f1c2721 improve format 2021-09-11 02:09:44 +08:00
yzhh
24098d80db recommend modules and allownone 2021-09-11 02:05:27 +08:00
yzhh
0ba34e850b bugfix 2021-09-06 13:13:03 +08:00
yzhh
a3c7dea200 Update __init__.py 2021-09-05 02:08:00 +08:00
yzhh
bdb3a30e46 Update __init__.py 2021-09-04 22:22:23 +08:00
yzhh
93cd4bf180 bugfix 2021-09-04 03:19:07 +08:00
yzhh
c3ace2f8dc schedule decorator and post_message 2021-08-31 02:53:39 +08:00
yzhh
8b0b23101b use ujson instead of original built-in json 2021-08-30 00:53:43 +08:00
yzhh
515d569659 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-08-27 01:30:45 +08:00
yzhh
97d4b88e7a fixed #59 2021-08-27 01:30:41 +08:00
yzhh
32f96f8804
Larger range of random sleep 2021-08-27 00:54:20 +08:00
yzhh
cd2c463299
Larger range of random sleep 2021-08-27 00:53:46 +08:00
yzhh
84f2d08ab6
Larger range of random sleep 2021-08-27 00:52:52 +08:00
yzhh
54d9c43b34 hmmm don't close it 2021-08-27 00:29:58 +08:00
yzhh
43bb225656 add rollback when commit failed 2021-08-27 00:24:21 +08:00
yzhh
e281c7a509 random sleep 2021-08-26 12:37:56 +08:00
yzhh
93fad764b4
Update __init__.py 2021-08-26 01:26:44 +08:00
yzhh
9c10c53b86 fixed autorun issues 2021-08-26 01:09:17 +08:00
yzhh
cf48746e2d Update __init__.py 2021-08-26 00:59:57 +08:00
yzhh
c00a1163a3 add qq message logging to db 2021-08-25 23:15:20 +08:00
yzhh
bc730acbcb aiohttp_retry 2021-08-25 22:32:37 +08:00
yzhh
2a0935f933 Update wikilib.py 2021-08-25 20:57:20 +08:00
yzhh
5b118d7b82 less usage 2021-08-25 19:45:03 +08:00
yzhh
73e5e23874 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-08-25 18:00:46 +08:00
yzhh
0737be6b83 Update __init__.py 2021-08-25 18:00:40 +08:00
yzhh
64dbabb2b8
Update __init__.py 2021-08-25 09:29:10 +08:00
yzhh
69a897b55e try to fix memory leak 2021-08-25 00:49:19 +08:00
yzhh
b66f54decd rewrite minecraft_news 2021-08-24 23:58:57 +08:00
yzhh
d0ceea70db bad pycharm 2021-08-24 21:21:04 +08:00
yzhh
889f3d17a4 Update wikilib.py 2021-08-24 21:20:29 +08:00
yzhh
645a80eac4 fixed an bug 2021-08-24 21:08:33 +08:00
yzhh
195eb35a18 Update orm.py 2021-08-24 20:44:26 +08:00
yzhh
8a39affcba remove useless print 2021-08-24 19:04:30 +08:00
yzhh
2ce0fc7d55 fixed cache issue 2021-08-24 18:22:36 +08:00
Dianliang233
8b0ad42d31
Add bug report link to every internal error 2021-08-24 14:49:35 +08:00
yzhh
dacb8f3756 Update __init__.py 2021-08-24 13:18:31 +08:00
yzhh
ffe7e69455 fixed a cache bug 2021-08-24 13:11:39 +08:00
yzhh
6e19360ca2 update 2021-08-24 12:58:35 +08:00
yzhh
79c79107f0 Update __init__.py 2021-08-24 12:46:56 +08:00
yzhh
f7f9e2e936 bugfix 2021-08-24 00:08:21 +08:00
yzhh
53fc859207
Merge pull request #43 from Teahouse-Studios/v4-dev
V4 dev
2021-08-23 22:43:30 +08:00
yzhh
99d0bc1d69 add update v3 to v4 database script 2021-08-23 22:17:04 +08:00
yzhh
8138838a3b fixed alerts 2021-08-23 20:44:31 +08:00
yzhh
6949c923d6 bugfix 2021-08-22 22:55:25 +08:00
yzhh
493aaab4fa add back something and bugfix 2021-08-21 23:58:07 +08:00
yzhh
0797ea3967 bugfix 2021-08-21 00:32:46 +08:00
yzhh
a726b8b760
Update wikilib.py 2021-08-20 19:13:33 +08:00
yzhh
36a995ec85
Update wikilib.py 2021-08-20 18:52:39 +08:00
yzhh
65f3f85248 private assets 2021-08-19 20:17:48 +08:00
yzhh
be3c43ccca
Update getinfobox.py 2021-08-18 22:46:01 +08:00
yzhh
cf7a5568d8 delete lazyload when found 2021-08-18 22:45:18 +08:00
yzhh
1f853f10c2 aiogram scheduler support 2021-08-18 21:11:14 +08:00
yzhh
f019ccaaea
Merge branch 'master' into v4-dev 2021-08-16 12:06:38 +08:00
yzhh
d018117605
Update __init__.py 2021-08-16 12:03:40 +08:00
yzhh
8480079895
bugfix 2021-08-16 12:00:05 +08:00
yzhh
8c46df1157 aiogram test
msg.waitConfirm and scheduler is currently not supported since I can't understand the doc, may fix them after
2021-08-14 23:26:10 +08:00
yzhh
b6b3641e0d Revert "move core.loader.decorator and core.loader.options to core"
This reverts commit 009fc6355a.
2021-08-14 21:10:52 +08:00
yzhh
009fc6355a move core.loader.decorator and core.loader.options to core 2021-08-14 16:45:47 +08:00
Dianliang233
9713352f7c
Rescheduled i18n to v4.1
Issue: #42
2021-08-11 21:08:13 +08:00
yzhh
f5e62e84d2 bugfix 2021-08-08 21:12:06 +08:00
yzhh
3c55162a77 use same db session 2021-08-07 16:30:16 +08:00
yzhh
f6fb290a27 remove duplicate part of mcv_jira_rss 2021-08-07 15:56:48 +08:00
Dianliang233
3a7c69d3cc
Address code quality issues 2021-08-07 11:59:58 +08:00
Dianliang233
1048f738ff
Port mcv_jira_rss and weekly_rss to v4 2021-08-07 11:37:17 +08:00
yzhh
c163a67082 scheduler test(may not works properly, but it works!) 2021-08-05 00:14:23 +08:00
Dianliang233
1c89b08fbd
Merge branch 'master' into v4-dev 2021-08-02 23:20:36 -05:00
Dianliang233
b8699176fd
Merge branch 'master' into v4-dev 2021-08-03 12:18:43 +08:00
Dianliang233
3e2b83468e
Fix TemplateStyle 2021-08-02 17:57:45 +08:00
Dianliang233
ab232e02d5
Attempt to fix InfoboxRender TemplateStyles 2021-08-02 17:42:00 +08:00
Dianliang233
65597d9203
More debugging (still not yet usable) 2021-08-02 17:29:44 +08:00
Dianliang233
3e25ad1cde
i18n (not yet working, need debugging) 2021-08-02 15:32:16 +08:00
Dianliang233
ee48e5ed33
Fix #33 2021-08-02 12:40:29 +08:00
Dianliang233
7195a042f9
Optimized import for wiki 2021-08-02 12:30:28 +08:00
yzhh
d5a795052c less duplicate 2021-08-02 12:20:07 +08:00
yzhh
1a1cb0bd04 #45 2021-08-02 12:14:26 +08:00
Dianliang233
68c2e58c89
Fix #41 2021-08-02 11:00:18 +08:00
Dianliang233
e7de2411c3
Debug ~ping 2021-08-01 22:46:06 +08:00
Dianliang233
77e381ccc3
Port to v4 2021-08-01 22:26:55 +08:00
yzhh
772563bd89 Update __init__.py 2021-07-31 22:27:30 +08:00
yzhh
bec9a8c330 Update __init__.py 2021-07-31 20:27:36 +08:00
Dianliang233
d5febadd68
Merge branch 'v4-dev' of https://github.com/Teahouse-Studios/bot into v4-dev 2021-07-31 19:54:24 +08:00
yzhh
f933bac3ee Delete tables.py 2021-07-31 03:33:51 +08:00
yzhh
3b844257bb fixed a table bug 2021-07-31 03:32:58 +08:00
yzhh
6d658cd844 Merge branch 'v4-dev' of https://github.com/Teahouse-Studios/bot into v4-dev 2021-07-31 02:06:35 +08:00
yzhh
e89d3cfe75 rewrite unit test 2021-07-31 02:06:04 +08:00
yzhh
4806e1f3a6
Update getinfobox.py 2021-07-30 23:03:18 +08:00
Dianliang233
abdf6e4328
Port github to v4 2021-07-30 16:06:10 +08:00
Dianliang233
4fa1a3cc2b
Port util to v4 2021-07-30 15:05:58 +08:00
Dianliang233
5bbe007ad7
Port utils to v4 2021-07-30 15:04:19 +08:00
yzhh
d1768aa9df port wiki module to v4 2021-07-29 02:51:24 +08:00
yzhh
1c34afc0a2 Reproduce something 2021-07-28 01:42:47 +08:00
yzhh
36d8c23d44 update 2021-07-28 00:03:48 +08:00
yzhh
e3b16bd76b rewrite option 2021-07-27 22:31:45 +08:00
yzhh
0442699b0f rewrite 2021-07-26 20:43:51 +08:00
yzhh
389608ad55 a small bug 2021-07-24 21:59:17 +08:00
yzhh
e6d51b45e0 refactor MessageSession 2021-07-24 16:59:15 +08:00
yzhh
ecd568d70e discord support 2021-07-22 01:58:33 +08:00
yzhh
5279c2c75b 1 2021-07-20 15:01:12 +08:00
yzhh
47b081aef0 new command parser is working now 2021-07-20 00:12:29 +08:00
yzhh
f1bc517332 rename and rewrite something 2021-07-15 22:59:32 +08:00
Dianliang233
abd09d5def
🚑 *2 2021-07-12 18:47:19 +08:00
Dianliang233
de0e3c1965
🚑 2021-07-12 18:45:42 +08:00
Dianliang233
ac0dd485cf
Fix time conversion 2021-07-12 18:43:59 +08:00
yzhh
067e80962c just save works
nothing break change, just move and rename something 🐟 👋
2021-07-11 22:20:24 +08:00
yzhh
72493e0e4d move database.utils to database __init__.py 2021-07-11 10:19:40 +08:00
yzhh
0742fc1bac rewrite enable/disable function; rewriting others 2021-07-11 01:05:07 +08:00
Dianliang233
77cc1f93c5
Fix error 2021-07-10 23:29:13 +08:00
Dianliang233
fcb0fabc16
feat(user): Extension:CentralAuth support 2021-07-10 22:56:52 +08:00
yzhh
0baec3f06e
add donate prompt :(: 2021-07-09 19:11:11 +08:00
lakejason0
d402f20eb3
Update __init__.py 2021-07-09 18:57:24 +08:00
yzhh
ba5ac3484c
idk why await bool 2021-07-09 18:18:39 +08:00
Dianliang233
35adc26e1b
[SECURITY] Fix CWE-20 2021-07-09 11:07:45 +08:00
yzhh
ed91e037e1 saved 2021-07-08 00:00:24 +08:00
yzhh
028a9363b0 decorator test 2021-07-07 02:00:26 +08:00
yzhh
3de07b1519 Update server.py 2021-07-04 18:19:47 +08:00
yzhh
8907c94f0c Update __init__.py 2021-06-28 23:04:47 +08:00
yzhh
beabce83f7 changed cytoid module's cooldown function 2021-06-27 22:56:45 +08:00
yzhh
e865cd6b49 Update __init__.py 2021-06-23 22:54:47 +08:00
yzhh
415f5be749 Update __init__.py 2021-06-23 22:54:34 +08:00
yzhh
adb40ec6fe bugfix 2021-06-23 22:51:38 +08:00
yzhh
fe357badb1 Update server.py 2021-06-23 21:45:41 +08:00
yzhh
e85085c049 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-06-23 21:37:08 +08:00
yzhh
eadd66ea4b Update server.py 2021-06-23 21:37:03 +08:00
Dianliang233
399589c36d Remove legacy log 2021-06-19 20:50:41 +08:00
Dianliang233
6c793aaba6 Avoid cache 2021-06-19 20:45:39 +08:00
yzhh
9e43c2f9a5 bugfix 2021-06-19 11:34:57 +08:00
yzhh
1cf76c16f6 🔨🔨🔨 2021-06-13 12:57:19 +08:00
yzhh
c0413dbcbc 🔨 2021-06-13 12:54:06 +08:00
yzhh
ee7eb0b281 boomed wc 2021-06-11 18:28:53 +08:00
yzhh
352ef96d2c add wc 2021-06-11 18:26:03 +08:00
yzhh
69cab3a2e2 Update __init__.py 2021-06-07 18:08:29 +08:00
yzhh
18c630b161 fixed ua bug 2021-06-06 16:21:24 +08:00
yzhh
c4723fbcd2 breaking change: alias system;don't use while True in the mcv rss check
rename 'wiki_regex' module to 'wiki_inline'
port 'wiki_regex' to 'wiki_inline'
port 'enable' to 'module enable'
port 'disable' to 'module disable'
port 'w' to 'wiki'
port 'u' to 'user'
port 'p' to 'ping'
port 's' to 'server'
rewrite 'enable' help
rewrite 'disable' help
new command parser comming soon.
2021-06-05 18:25:21 +08:00
yzhh
a991e0a05a remove ab auto revoke 2021-06-05 13:19:01 +08:00
yzhh
cbbfa608d9 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-06-05 13:08:15 +08:00
yzhh
836170c3e4 fixed double nudge 2021-06-05 13:07:54 +08:00
Dianliang233
83f97b2085 blacklist 2021-06-05 12:14:18 +08:00
Dianliang233
ad9df0e10c add opengraph image 2021-06-05 10:00:20 +08:00
yzhh
7e7686ac14 add group_useradmin 2021-06-04 23:54:08 +08:00
yzhh
53ee3a4e5c add help about minecraft_news; add alias type in loader(not working now) 2021-06-04 22:59:33 +08:00
yzhh
8611ee86c0 introduce html2text to parse html 2021-06-04 22:23:29 +08:00
yzhh
18d9a01f1b Update wikilib.py 2021-06-04 22:05:57 +08:00
yzhh
316d98f9e1 Update __init__.py 2021-06-02 13:21:38 +08:00
yzhh
57069ed311 remove propResPath 2021-06-01 23:33:08 +08:00
yzhh
b68c8ba201 remove stupid article check method in mcv_rss 2021-06-01 22:43:00 +08:00
yzhh
072d3cbf70 Update __init__.py 2021-06-01 22:38:39 +08:00
yzhh
35580da4a4 add minecraft news rss module 2021-06-01 22:38:03 +08:00
yzhh
27fa01d783 time struct fix 2021-06-01 20:52:13 +08:00
yzhh
ee1a7fb5c5 use beautifulsoup to parse page when no textextract extension 2021-06-01 20:43:31 +08:00
yzhh
6c3150a4ba Update __init__.py 2021-06-01 13:02:24 +08:00
yzhh
e071b868bf bugfix 2021-05-31 23:04:31 +08:00
yzhh
ba7d4397e5 Update __init__.py 2021-05-30 22:48:27 +08:00
yzhh
12f4ac1672 use a little walrus operator 2021-05-30 19:33:16 +08:00
yzhh
27b7270e74 bugfix 2021-05-30 18:16:20 +08:00
yzhh
4ebb7b7a62 bugfix 2021-05-30 18:08:36 +08:00
yzhh
d85c732349 multi command inline support 2021-05-30 17:39:26 +08:00
yzhh
35e0d31af2 wtf I made that shit???????????? 2021-05-30 14:33:05 +08:00
yzhh
110d3b59c2 Update drawsongimg.py 2021-05-30 14:08:42 +08:00
yzhh
29c38382d5 unhardcode something 2021-05-30 14:06:41 +08:00
yzhh
57e8dcb080 Update drawb30img.py 2021-05-30 13:57:32 +08:00
yzhh
f66db60b83 makes rc/ab/newbie return correspond page link :stupidhead: 2021-05-30 13:02:01 +08:00
yzhh
f6052ad8ec Update drawb30img.py 2021-05-29 00:07:20 +08:00
yzhh
4aad8b2d9e Update drawb30img.py 2021-05-29 00:06:00 +08:00
yzhh
1efceddd1b test 2021-05-29 00:00:41 +08:00
yzhh
4e1cfe2489 bugfix 2021-05-28 23:39:39 +08:00
yzhh
81f4275265 add permission 2021-05-28 23:32:13 +08:00
yzhh
17ecea85e1 random choose b30 bgimg 2021-05-28 23:30:05 +08:00
yzhh
3e95311d63 auto init b30 resource now 2021-05-28 23:23:59 +08:00
yzhh
8ddb03136e Update drawb30img.py 2021-05-27 23:42:05 +08:00
yzhh
0eca5f968e Update drawb30img.py 2021-05-27 23:41:55 +08:00
yzhh
5abd94c178 port interwiki set to interwiki add to get easier type commands;add heimu visible css 2021-05-27 22:58:29 +08:00
yzhh
9a7bda0d6f auto remove duplicate space now 2021-05-27 21:08:26 +08:00
yzhh
ba7dc2e46b bugfix 2021-05-23 01:05:52 +08:00
yzhh
e7a1fbf8a0 bugfix 2021-05-22 23:59:24 +08:00
yzhh
5dbedfa9c4 don't show detailed information when not superuser 2021-05-22 16:45:39 +08:00
yzhh
af36e8c651 server query is asynchronization now 2021-05-22 16:34:41 +08:00
yzhh
590203afcc Update wikilib.py 2021-05-22 16:17:46 +08:00
yzhh
27ee6c9e08 Update getinfobox.py 2021-05-16 23:15:07 +08:00
yzhh
16604d8cf2 Update getinfobox.py 2021-05-15 23:50:17 +08:00
Dianliang233
964f0d5e9f 🐛 class 2021-05-15 22:42:52 +08:00
Dianliang233
f94976fa40 🐛 id, not class 2021-05-15 16:47:05 +08:00
yzhh
d4bf6b26b4
Update getinfobox.py 2021-05-15 16:45:00 +08:00
yzhh
b642679ca5 fixed several minor bug 2021-05-05 12:43:33 +08:00
yzhh
92cb221dc4 Update wikilib.py 2021-05-05 12:04:01 +08:00
yzhh
00b04ab709 bugfix 2021-05-02 23:29:27 +08:00
yzhh
e4b350eca3 Update __init__.py 2021-04-28 21:43:23 +08:00
yzhh
03f87f7353 more ping infomation 2021-04-28 21:39:15 +08:00
yzhh
7b9441327a ? 2021-04-28 21:12:17 +08:00
yzhh
a630873d1c remove semicolon detection 2021-04-28 21:08:42 +08:00
yzhh
72942591cc bugfix 2021-04-28 21:07:11 +08:00
yzhh
babec1e572 add restart prompt 2021-04-28 20:21:33 +08:00
yzhh
b84316bc06 Update wikilib.py 2021-04-28 19:14:52 +08:00
yzhh
728bd28f69 timeout prompt 2021-04-28 19:11:58 +08:00
yzhh
dbc5398efe move arcb30 card maker code to public repo to convenient dev 2021-04-28 19:01:25 +08:00
yzhh
657c03e790 bugfix; patched setu #lsplivesmatter# 2021-04-27 23:01:17 +08:00
yzhh
f2265ea6b9 aaa 2021-04-25 23:03:58 +08:00
yzhh
3fd7a5c72c fisde e baggggggggggg 2021-04-25 22:44:44 +08:00
yzhh
445e3a24fa Update __init__.py 2021-04-25 22:37:17 +08:00
yzhh
844629a296 fixed a bug that cause custom interwiki doesn't work 2021-04-25 22:34:58 +08:00
yzhh
d2bbe86553 remove unused bot functions, simplify database call and rename database table in the wiki module, fixed several bugs in the user module 2021-04-25 22:10:03 +08:00
yzhh
da0e32b65f Update wikilib.py 2021-04-24 00:31:04 +08:00
yzhh
42e295d25a test 2021-04-24 00:29:41 +08:00
yzhh
76247e7a42 Update __init__.py 2021-04-24 00:24:13 +08:00
yzhh
1d35337f2c bugfix 2021-04-21 22:04:40 +08:00
yzhh
95434a95f4 test 2021-04-21 22:01:50 +08:00
yzhh
246f8f1231 no need quote 2021-04-21 19:26:05 +08:00
yzhh
05cd7abf0f Update wikilib.py 2021-04-21 12:54:13 +08:00
yzhh
5539db3501 Beautify the code 2021-04-21 00:32:53 +08:00
yzhh
8d4608cd6c remove "..." placeholder when desc is nothing 2021-04-20 22:34:13 +08:00
yzhh
35ee9b589e sbsbsbsbsbsbsbsbsbssbsbsbsbsbsbsbsbsbsbsbssssssb 2021-04-20 01:07:44 +08:00
yzhh
e46ee44854 sb fix 2021-04-20 01:00:54 +08:00
yzhh
21d8a66f93 bugfix 2021-04-19 22:03:29 +08:00
yzhh
6f1e6f0d39 Update wikilib.py 2021-04-19 13:08:46 +08:00
yzhh
78f3160c78 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-04-19 12:30:26 +08:00
yzhh
efa04ccb40 ? 2021-04-19 12:30:10 +08:00
yzhh
594091d4a1
Update helper.py 2021-04-18 23:34:19 +08:00
yzhh
acfbafd31e
[页面编] 这人懒死了,什么都没有写! 2021-04-18 23:30:58 +08:00
yzhh
87394f03c5 unuse gsrsearch to research page because they don't use 2021-04-18 23:13:42 +08:00
yzhh
84b3c51cc2 less print, only use parser to get desc when textextracts extension not enabled 2021-04-18 22:42:44 +08:00
yzhh
27ef725ae7 minor bugfix 2021-04-18 20:57:57 +08:00
yzhh
88b244b4ec fixed a bug that causes interwiki redirects incorrect 2021-04-18 20:41:46 +08:00
yzhh
90f2858f13 part refactor to reduce overhead and bugfix 2021-04-18 20:25:25 +08:00
yzhh
12c8e58e1c Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-04-17 23:17:36 +08:00
yzhh
d293c6426e remove the "Gamepedia addon" option, RIP Gamepedia 2021-04-17 23:17:29 +08:00
Dianliang233
e55b52d19b 🚑 2021-04-17 22:23:28 +08:00
yzhh
f5907a60c0 add bedrock & dungeons jira mcv rss 2021-04-10 22:41:19 +08:00
yzhh
d4e09ef036
Update README.MD 2021-04-10 22:20:51 +08:00
yzhh
25bfad5029 Well it just reformat code but lol 2021-04-08 23:22:55 +08:00
yzhh
a482561607 Fixed several bugs that may cause oa too lazy 2021-04-08 23:21:40 +08:00
yzhh
66cedd7922 Fixed several bugs that may cause oa quality 2021-04-08 23:20:14 +08:00
yzhh
55364041de Fixed several bugs that may cause nothing changed 2021-04-08 23:19:02 +08:00
yzhh
e40a53e536 Fixed a bug that may cause reading to confuse 2021-04-08 23:17:13 +08:00
yzhh
35d9eb24c0 Update __init__.py 2021-04-08 20:51:56 +08:00
yzhh
230bb0094e Update admin.py 2021-04-08 20:51:51 +08:00
yzhh
3328c33217 Update __init__.py 2021-04-08 20:51:46 +08:00
yzhh
0291f69718 Update __init__.py 2021-04-08 20:51:40 +08:00
yzhh
503dd4e215 Update __init__.py 2021-04-08 20:51:35 +08:00
yzhh
97613ef335 Update ab.py 2021-04-08 20:51:28 +08:00
yzhh
17067e5b69 Update newbie.py 2021-04-08 20:51:08 +08:00
yzhh
145f89f7bb Update rc.py 2021-04-08 20:51:02 +08:00
yzhh
5a8076097e Update __init__.py 2021-04-08 20:50:56 +08:00
yzhh
a0264dab25 Update database.py 2021-04-08 20:50:49 +08:00
yzhh
b22abdbf66 improve import 2021-04-08 20:50:42 +08:00
yzhh
819563a4d7 delete cache files 2021-04-08 20:23:38 +08:00
yzhh
6d9f558475 fixed several bugs in the loader 2021-04-07 23:18:41 +08:00
yzhh
a5ed898ed1 Revert "Revert "test audio""
This reverts commit bee81ca0f0.
2021-04-05 23:04:42 +08:00
yzhh
bee81ca0f0 Revert "test audio"
This reverts commit cd10d7e488.
2021-04-05 21:05:14 +08:00
yzhh
cd10d7e488 test audio 2021-04-05 20:17:06 +08:00
yzhh
26f5edd3a2 2021-04-05 17:27:25 +08:00
Dianliang233
c3aa781fea feat(weekly): image 2021-04-05 17:20:08 +08:00
Dianliang233
c20c1a9516 feat(weekly): outdated weekly detection 2021-04-05 17:01:28 +08:00
Dianliang233
d81e724dbe fix(weekly): fix link to en 2021-04-05 09:24:26 +08:00
Dianliang233
fe5bcfe32d fix(weekly): fix redundant slash in page link 2021-04-05 08:55:43 +08:00
Dianliang233
74adc2095b feat(weekly): return format=original image link 2021-04-05 08:54:07 +08:00
Dianliang233
febf4175eb Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-04-05 08:41:54 +08:00
Dianliang233
930c4ce39b feat(weekly): new module 2021-04-05 08:41:50 +08:00
yzhh
ea01aaf02b translate something 2021-04-04 22:20:46 +08:00
yzhh
48628a7a57 add nintendo console errcode parser 2021-04-04 18:08:26 +08:00
yzhh
c1fec8b5ea bugfix 2021-04-03 22:29:11 +08:00
yzhh
5e1c9c6139 bugfix 2021-04-03 21:59:06 +08:00
yzhh
539bc55a62 Revert "revert: feat(github): dirty check whitelist/allowlist"
This reverts commit 7e68e8b134.
2021-04-03 21:37:25 +08:00
Dianliang233
7e68e8b134 revert: feat(github): dirty check whitelist/allowlist
This reverts da8faad76f
2021-04-03 21:30:32 +08:00
Dianliang233
da8faad76f feat(github): dirty check whitelist/allowlist 2021-04-03 21:16:41 +08:00
Dianliang233
3ef3ad370f fix(github): fix out of range error
Fix out of range error when using the command with no mode specified.
2021-04-03 21:05:41 +08:00
Dianliang233
bf9a35146d feat(github): add github search functionality 2021-04-03 20:47:09 +08:00
yzhh
a7a00de5a5 Update wikilib.py 2021-04-03 00:46:37 +08:00
yzhh
782e398c59 refactor loader & bugfix 2021-04-03 00:35:26 +08:00
yzhh
c306e59d3a farwell gamepedia 2021-04-02 21:11:37 +08:00
yzhh
5952f58576 farwell gamepedia 2021-04-02 00:43:17 +08:00
yzhh
3fe11d36fa Revert "🤡"
This reverts commit 3ae9337171.
2021-04-01 23:58:02 +08:00
yzhh
3ae9337171 🤡 2021-03-31 23:44:44 +08:00
yzhh
bb2f53eb34 nudge support 2021-03-27 23:33:59 +08:00
yzhh
7464051594 Update getinfobox.py 2021-03-25 20:35:57 +08:00
yzhh
f95b2b5a4d Update getinfobox.py 2021-03-25 20:34:53 +08:00
yzhh
fbc0a2d226 update and restart 2021-03-23 23:04:21 +08:00
yzhh
29dec034be Update getinfobox.py 2021-03-23 23:00:45 +08:00
yzhh
31b8976d32 11 2021-03-21 21:03:47 +08:00
yzhh
73fdaac975 Update wikilib.py 2021-03-21 20:41:07 +08:00
yzhh
3eed78e721 Update __init__.py 2021-03-21 20:39:43 +08:00
yzhh
cc5e9bdcaf random page 2021-03-21 20:33:05 +08:00
yzhh
e47e7e31c0 update database 2021-03-21 16:16:07 +08:00
yzhh
08b9bcbcee update database 2021-03-21 16:14:28 +08:00
yzhh
0651206762 fix 2021-03-21 14:57:02 +08:00
yzhh
ffc27d1c67 headers support 2021-03-21 13:12:52 +08:00
yzhh
03ec82a83e headers support 2021-03-21 13:00:17 +08:00
yzhh
76ad3135ef Update wikilib.py 2021-03-20 20:33:55 +08:00
yzhh
f2ede067de
Update __init__.py 2021-03-11 00:09:34 +08:00
yzhh
f53cf5cf4e test 2021-03-07 23:34:15 +08:00
Dianliang233
c1760d0eb2 wakeup 2021-03-06 10:37:10 +08:00
Dianliang233
9fc7f1f44f
Update __init__.py 2021-03-06 09:52:36 +08:00
Dianliang233
806ced450f
Update __init__.py 2021-03-06 09:48:44 +08:00
Dianliang233
77231d572e
🚑 fix error "bio" 2021-03-06 09:43:58 +08:00
yzhh
b8034b33e4 update 2021-03-06 00:19:06 +08:00
yzhh
82b3d4cdf9 Update __init__.py 2021-03-06 00:11:12 +08:00
yzhh
2f7496db7b Update __init__.py 2021-03-06 00:09:57 +08:00
yzhh
d242bf9f25 Update __init__.py 2021-03-06 00:08:10 +08:00
yzhh
c53977929b Update __init__.py 2021-03-05 23:54:07 +08:00
yzhh
af5f306090 bugfix 2021-03-01 20:11:39 +08:00
yzhh
e7f81a610c check extension 2021-03-01 20:08:58 +08:00
yzhh
411e1c4322 add self mcv rss 2021-02-25 20:36:19 +08:00
Dianliang233
38d25bc55f 2021-02-20 18:49:23 +08:00
yzhh
4fe6697e7b update 2021-02-19 20:20:00 +08:00
yzhh
c9936cf85a rearrange code 2021-02-19 20:18:47 +08:00
yzhh
6447f56836 Update __init__.py 2021-02-19 20:05:58 +08:00
yzhh
ba466cf36b
Merge pull request #7 from Teahouse-Studios/dianliang-shit-code-1
 💩 GitHub 查询
2021-02-19 05:45:30 -06:00
yzhh
bf1e23a1b0 bugfix 2021-02-19 19:44:28 +08:00
wyapx
5365b1d629
Update wikilib.py 2021-02-19 19:26:19 +08:00
wyapx
48b475cc10
Update ab.py 2021-02-19 19:25:10 +08:00
wyapx
c3d810eefb
Update newbie.py 2021-02-19 19:24:23 +08:00
wyapx
6f257cde8f
Update rc.py 2021-02-19 19:23:58 +08:00
wyapx
cc52cf90a8
Update __init__.py 2021-02-19 19:21:55 +08:00
Dianliang233
af795086b4 🙈 config 2021-02-19 18:13:31 +08:00
Dianliang233
f684d002ff 🚑 车车 2021-02-19 16:13:44 +08:00
Dianliang233
d388c307b0 🚑 fix crash 2021-02-19 16:08:48 +08:00
Dianliang233
a47e4fb77a 💩 GitHub 2021-02-19 15:56:47 +08:00
yzhh
a175fe4ca9 update 2021-02-19 13:29:22 +08:00
yzhh
feabdf8d75 update 2021-02-18 19:44:00 +08:00
yzhh
f8c982ca1f Update __init__.py 2021-02-17 18:31:28 +08:00