Archived
1
0
Fork 0
Commit graph

317 commits

Author SHA1 Message Date
yzhh
1932bb67dc Update bot.py 2021-10-16 18:26:56 +08:00
yzhh
8f63949287 Update bot.py 2021-10-16 13:24:53 +08:00
yzhh
7fe8ed51bb Update message.py 2021-10-16 13:15:55 +08:00
yzhh
02e49f1fc4 that is my port onii-chan 2021-10-16 01:52:40 +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
6d728184ff bugfix 2021-10-15 18:21:34 +08:00
yzhh
efb34e4f17 ? 2021-10-14 23:29:45 +08:00
yzhh
e20ffa7d44 ? 2021-10-14 23:29:26 +08:00
yzhh
01d8b7b70c ? 2021-10-14 23:21:31 +08:00
yzhh
4b7e40aaf8 fixed hardcode loader 2021-10-14 23:18:47 +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
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
04470accef logger 2021-10-10 22:05:19 +08:00
yzhh
53d28d01a4 bombed something 2021-10-09 21:32:54 +08:00
yzhh
68ae5acec9 disable aiocqhttp 2021-10-09 21:08:18 +08:00
yzhh
c5254d8f83 Update message.py 2021-10-08 21:14:09 +08:00
yzhh
31cbadde3b Update message.py 2021-10-08 21:13:47 +08:00
yzhh
3c97cc084c unescape html entites 2021-10-08 20:25:57 +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
e8510488d6 Update bot.py 2021-10-02 15:05:50 +08:00
Dianliang233
e6c4bee841
Aduit test 2021-10-01 09:18:04 +08:00
yzhh
298dd2e23d remove random sleep 2021-09-30 23:57:24 +08:00
Dianliang233
cc5ee7e4e7
Module dev credit
Fixes #65
2021-09-19 20:52:42 +08:00
yzhh
486895778e retry test 2021-09-12 20:51:13 +08:00
yzhh
24098d80db recommend modules and allownone 2021-09-11 02:05:27 +08:00
yzhh
ef4f751d55 ignore nduge error 2021-09-10 23:34:07 +08:00
yzhh
0815afead6 Update dirty_check.py 2021-09-07 21:08:21 +08:00
yzhh
0ba34e850b bugfix 2021-09-06 13:13:03 +08:00
yzhh
75ed81b4e6 Update command.py 2021-09-04 21:27: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
7271ae3eeb match to github 2021-08-27 00:37:18 +08:00
yzhh
43bb225656 add rollback when commit failed 2021-08-27 00:24:21 +08:00
yzhh
6d5ed7eb73 Update message.py 2021-08-26 00:30:50 +08:00
yzhh
0aec73f297 bugfix 2021-08-25 23:33:58 +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
5b118d7b82 less usage 2021-08-25 19:45:03 +08:00
yzhh
c7294a355f query cache test 2021-08-25 19:23:59 +08:00
yzhh
4dd232062e scheduler bugfix 2021-08-24 19:00:13 +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
e26aa9ac47 fack 2021-08-24 00:49:54 +08:00
yzhh
47a8901a6f Update message.py 2021-08-24 00:48:55 +08:00
yzhh
9b89b0c7ae Update message.py 2021-08-24 00:45:05 +08:00
yzhh
f7f9e2e936 bugfix 2021-08-24 00:08:21 +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
016450340a FUCK YOU GBK 2021-08-21 15:45:21 +08:00
yzhh
0797ea3967 bugfix 2021-08-21 00:32:46 +08:00
yzhh
ae60ce827f gitignore 2021-08-19 20:19:54 +08:00
yzhh
65f3f85248 private assets 2021-08-19 20:17:48 +08:00
yzhh
1f853f10c2 aiogram scheduler support 2021-08-18 21:11:14 +08:00
yzhh
e48fd8c3b2 more customizable message tasks 2021-08-17 23:35:54 +08:00
yzhh
3840e5de63 introduce MessageTaskManager 2021-08-17 00:07:04 +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
b35ef74a1a clean up duplicate code 2021-08-07 20:55:07 +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
yzhh
02f9c55257 add docs for core.elements.message.sendMessage 2021-08-06 22:10:48 +08:00
yzhh
c163a67082 scheduler test(may not works properly, but it works!) 2021-08-05 00:14:23 +08:00
yzhh
123cafa261 fetch test 2021-08-04 00:04:59 +08:00
yzhh
f2a66489c6 get target 2021-08-02 23:35:45 +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
yzhh
1a1cb0bd04 #45 2021-08-02 12:14:26 +08:00
yzhh
7f540f8ad3 remove dynamic bind template 2021-08-01 22:54:25 +08:00
yzhh
05b330aa90 aaaaaaaaaaaaaaaaaa
给我整明白了属于是
2021-07-31 22:26:41 +08:00
yzhh
77da971416 Update internal.py 2021-07-31 21:11:39 +08:00
yzhh
109dec0fe5 fixed a bug cause alias option can't support list type 2021-07-31 20:54:01 +08:00
yzhh
3b844257bb fixed a table bug 2021-07-31 03:32:58 +08:00
yzhh
e89d3cfe75 rewrite unit test 2021-07-31 02:06:04 +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
a102c7afd9 rewrite regex part 2021-07-26 22:33:49 +08:00
yzhh
95e227e6db Update command.py 2021-07-26 21:28:38 +08:00
yzhh
0442699b0f rewrite 2021-07-26 20:43:51 +08:00
yzhh
becbddb6ca Update __init__.py 2021-07-25 01:24:21 +08:00
yzhh
5948f35224 Update template.pyi 2021-07-25 01:14:55 +08:00
yzhh
389608ad55 a small bug 2021-07-24 21:59:17 +08:00
yzhh
671c4efc19 Update template.pyi 2021-07-24 21:53:32 +08:00
yzhh
9020628818 Create template.pyi 2021-07-24 21:43:26 +08:00
yzhh
2479fc58cc Delete loop.py 2021-07-24 21:35:24 +08:00
yzhh
650196e43d delete old database 2021-07-24 21:07:50 +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
63440959c4 update docopt to docopt-ng 0.7.2 2021-07-19 13:34:29 +08:00
yzhh
9eea0351c4 new command parser(not used now) 2021-07-19 00:17:59 +08:00
yzhh
e7604ec8b2 new command parser(not used now) 2021-07-19 00:17:09 +08:00
yzhh
582824e2ab Did you write a lot of code again?
Yes, but actually no
2021-07-16 23:50:25 +08:00
yzhh
f1bc517332 rename and rewrite something 2021-07-15 22:59:32 +08:00
yzhh
0d8354a6ea 🐟 👋 2021-07-13 23:48:43 +08:00
yzhh
b429dbc17f 🐟 👋 2021-07-12 21:31:11 +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
yzhh
45d1a3c316 remove something 2021-07-09 17:41:06 +08:00
yzhh
44a49b7c7d Update parser.py 2021-07-09 17:36:38 +08:00
yzhh
d362c412d3 rename "Plugin" to "Module" 2021-07-09 17:35:23 +08:00
yzhh
d862498387 Delete loader_old.py 2021-07-09 17:34:46 +08:00
yzhh
d55423bc0d Update parser.py 2021-07-08 23:52:05 +08:00
yzhh
f07afdccfa Update loader.py 2021-07-08 23:51:58 +08:00
yzhh
6010c5a7d4 Update decorator.py 2021-07-08 23:51:51 +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
69e8df9147 Update template.py 2021-06-19 11:37:48 +08:00
yzhh
99fed37f72 Update template.py 2021-06-19 11:36:29 +08:00
yzhh
df6692a682 bug 2021-06-13 13:31:27 +08:00
yzhh
a1f9419913 *********** 2021-06-13 13:30:39 +08:00
yzhh
6a3dfbceb0 yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy是是是是是是是是是是是是是是是是是是是是是是是是是是是 2021-06-13 13:29:41 +08:00
yzhh
e937ce574b yyyyyyyyyyyyyyyyyyyyyyyyyyy 2021-06-13 13:27:52 +08:00
yzhh
b0df31091c 是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是 2021-06-13 13:27:34 +08:00
yzhh
bcb660d918 hide traceback 2021-06-10 13:49:19 +08:00
yzhh
7ebd6b80ec split something 2021-06-08 20:53:49 +08:00
yzhh
a91af9947e Update template.py 2021-06-08 18:15:58 +08:00
yzhh
8e407bd0cd just split something 2021-06-07 21:49:39 +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
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
ac6a6f280a unnecessary catch exception 2021-06-04 21:53:24 +08:00
yzhh
ec607e8208 add try to sending an empty message prompt 2021-06-02 18:14:10 +08:00
yzhh
77104e12e8 fixed possibility that the list out of range 2021-05-31 23:30:22 +08:00
yzhh
ac9155f599 add confirm alias 2021-05-31 23:08:18 +08:00
yzhh
12f4ac1672 use a little walrus operator 2021-05-30 19:33:16 +08:00
yzhh
aa4e1f708e Update template.py 2021-05-30 18:21:11 +08:00
yzhh
4879d34209 bugfix 2021-05-30 18:19:34 +08:00
yzhh
d85c732349 multi command inline support 2021-05-30 17:39:26 +08:00
yzhh
5d142cd29e Update loader.py 2021-05-27 23:13:40 +08:00
yzhh
9a7bda0d6f auto remove duplicate space now 2021-05-27 21:08:26 +08:00
yzhh
b00eb01785
Update dirty_check.py 2021-05-23 00:50:16 +08:00
yzhh
f85ecb54f0 remove eventlet.timeout 2021-05-22 16:08:02 +08:00
yzhh
bbf4df07ec update 2021-05-18 23:10:36 +08:00
yzhh
d5a12dcbee Update template.py 2021-05-15 20:42:05 +08:00