Archived
1
0
Fork 0
Commit graph

332 commits

Author SHA1 Message Date
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
d18f2d2ac3 auto code cleanup 2023-01-28 13:53:11 +08:00
Light Beacon
687d157b00 fix bug 2023-01-27 17:26:05 +08:00
Light Beacon
ca5f018f14 fix some bugs 2023-01-26 21:21:46 +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
Dianliang233
cd8396c5a1 Add wiki link to help msg 2023-01-22 13:40:53 +08:00
yzhh
47e6c7795d Update modules.py 2022-10-07 21:13:04 +08:00
yzhh
de502cefd7 Update su_utils.py 2022-09-13 22:22:53 +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
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
yzhh
88be295074 add self-update database & bugfixes 2022-08-27 15:38:13 +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
Dianliang233
cbf5d40c84
Add locale settings 2022-08-18 13:46:18 +08:00
yzhh
e886c2830d bugfix 2022-08-10 17:54:07 +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
6067e2b30f update 2022-08-08 23:31:38 +08:00
yzhh
fd4cf8b743 bugfixes 2022-08-08 22:55:11 +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
Dianliang233
7efe9640f5
Add ~eval and enable_eval config 2022-08-05 20:57:24 +08:00
yzhh
eaacc0a0a4 add debug mode 2022-08-04 15:52:42 +08:00
多洛狼
dabf2429aa Update __init__.py 2022-08-03 18:04:58 +08:00
Dianliang233
dab313428a
Use abs() 2022-08-03 17:54:14 +08:00
多洛狼
8c74f84cda Update __init__.py 2022-08-03 17:45:30 +08:00
yzhh
89f510760c fixed a revoke warn bug 2022-08-03 17:20:35 +08:00
yzhh
1e416aae18 Update __init__.py 2022-08-03 16:00:24 +08:00
yzhh
11c1f4a9a6
Update __init__.py 2022-08-03 15:26:26 +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
82752f2259 Update __init__.py 2022-07-29 21:54:31 +08:00
yzhh
64f140de82 Update __init__.py 2022-07-29 21:52:16 +08:00
yzhh
b0fbb31ea2 Update __init__.py 2022-07-28 23:56:43 +08:00
yzhh
9e0a93c487 change time range 2022-07-28 23:53:15 +08:00
yzhh
5eb1d1e053 update 2022-07-26 00:55:44 +08:00
yzhh
9ffe692b54 Update __init__.py 2022-07-21 16:12:12 +08:00
yzhh
48eb752c9a Update __init__.py 2022-07-20 17:21:27 +08:00
yzhh
623f685011 update 2022-07-19 21:01:25 +08:00
yzhh
fecddd1cb4 Update __init__.py 2022-07-19 11:20:04 +08:00
yzhh
27106c69b2 Update __init__.py 2022-07-19 10:22:28 +08:00
yzhh
b0be38ec3e update 2022-07-19 10:20:28 +08:00
yzhh
b69f3b9f96 update 2022-07-19 09:57:43 +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
f568544394 introduce wait for reply function 2022-06-28 14:11:03 +08:00
yzhh
3baee076b9 Update __init__.py 2022-06-20 21:59:51 +08:00
yzhh
f93ab244f4 update 2022-06-20 21:49:11 +08:00
多洛狼
498f66328f add desc 2022-06-19 14:32:11 +08:00
多洛狼
a4e90b270e 补充提示 2022-06-18 00:10:35 +08:00
yzhh
c74dc4f467 changed some bad data structure designs 2022-06-13 19:17:56 +08:00
yzhh
49ca216a8a Update __init__.py 2022-06-12 16:30:14 +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
4d853d5bb1
Update __init__.py 2022-06-04 22:24:15 +08:00
yzhh
768a04115a
Update __init__.py 2022-06-04 22:19:29 +08:00
多洛系狼狼
b59b72e3fd domain transfer 2022-06-03 22:17:34 +08:00
yzhh
5419986563 module list -> modules 2022-05-26 00:15:08 +08:00
yzhh
a4e3151b89 Update __init__.py 2022-05-22 22:16:20 +08:00
yzhh
ecb99df7ae FinishedException 2022-05-22 00:04:29 +08:00
yzhh
d038a2b882 add donate prompt again 2022-05-15 21:13:16 +08:00
yzhh
f3826747d3 Update __init__.py 2022-05-14 17:35:16 +08:00
yzhh
15a15f0db3 update 2022-05-13 20:41:58 +08:00
yzhh
2c62be3f6d update mcbv & add mcbv_rss 2022-04-02 22:45:17 +08:00
yzhh
96ae41cdb7 . 2022-03-05 21:34:08 +08:00
yzhh
1a530e12f7 update 2022-01-26 21:45:17 +08:00
yzhh
a7070a0d02 Update __init__.py 2022-01-25 15:02:00 +08:00
yzhh
4dd346eaad autoformat 2022-01-20 20:13:03 +08:00
yzhh
4de7c45b79 use 233 as reboot exit code instead of 512
due to linux behavior
2022-01-14 20:39:51 +08:00
yzhh
2d467a1cf3 Reimplement restart command #121 2022-01-13 23:50:17 +08:00
Dianliang233
cf26736977
Let's shut the fxxk up 2022-01-08 19:05:17 +08:00
Dianliang233
c2edf730b7
Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2022-01-08 16:38:39 +08:00
Dianliang233
a334041b3f
Show user's permission in whoami
Also added MessageSession.checkNativePermission(), just for fun
2022-01-08 16:37:03 +08:00
yzhh
27a34453bc add disable secret check parameter 2022-01-08 16:08:25 +08:00
yzhh
17c3779fcb change ab to ae 2022-01-08 16:00:12 +08:00
Dianliang233
998d247ca9
Rename everything unit_test to console & extra for whoami
This is what it should have been like
2022-01-08 15:31:30 +08:00
Dianliang233
80b0fc9fe8
Add bot moderation util commands 2022-01-08 15:17:21 +08:00
Dianliang233
73f9a349be
Merge add_su and del_su 2022-01-08 13:13:06 +08:00
yzhh
4be1c8b65e Update __init__.py 2021-12-30 22:41:13 +08:00
yzhh
c7cf0859ee Update __init__.py 2021-11-20 22:45:55 +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
e06f1dd13b guild support 2021-11-16 22:19:48 +08:00
yzhh
3f863fe1bc add toggle typing 2021-11-14 17:57:53 +08:00
yzhh
11be9e095e update 2021-11-12 22:25:53 +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
68a49c799e new decorator 2021-10-24 18:55:45 +08:00
yzhh
dd620102bc update command parser 2021-10-16 01:36:22 +08:00
yzhh
c12e97855b ? 2021-10-14 23:29:59 +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
49a50e3070 Update __init__.py 2021-10-14 19:10:31 +08:00
yzhh
df246d873a add docs for decorators; introduce regex decorator 2021-10-13 23:22:11 +08:00
yzhh
0220a4dcda bugffix 2021-10-07 23:54:37 +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
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
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
43bb225656 add rollback when commit failed 2021-08-27 00:24:21 +08:00
yzhh
c00a1163a3 add qq message logging to db 2021-08-25 23:15:20 +08:00
yzhh
5b118d7b82 less usage 2021-08-25 19:45:03 +08:00
yzhh
dacb8f3756 Update __init__.py 2021-08-24 13:18:31 +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
0797ea3967 bugfix 2021-08-21 00:32:46 +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
yzhh
f5e62e84d2 bugfix 2021-08-08 21:12:06 +08:00
yzhh
f6fb290a27 remove duplicate part of mcv_jira_rss 2021-08-07 15:56:48 +08:00
Dianliang233
b8699176fd
Merge branch 'master' into v4-dev 2021-08-03 12:18:43 +08:00
Dianliang233
ee48e5ed33
Fix #33 2021-08-02 12:40:29 +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
e7de2411c3
Debug ~ping 2021-08-01 22:46:06 +08:00
yzhh
bec9a8c330 Update __init__.py 2021-07-31 20:27:36 +08:00
Dianliang233
4fa1a3cc2b
Port util to v4 2021-07-30 15:05:58 +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
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
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
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
ed91e037e1 saved 2021-07-08 00:00:24 +08:00
yzhh
028a9363b0 decorator test 2021-07-07 02:00:26 +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
9a7bda0d6f auto remove duplicate space now 2021-05-27 21:08:26 +08:00
yzhh
5dbedfa9c4 don't show detailed information when not superuser 2021-05-22 16:45:39 +08:00
yzhh
babec1e572 add restart prompt 2021-04-28 20:21:33 +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
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
fbc0a2d226 update and restart 2021-03-23 23:04:21 +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
f53cf5cf4e test 2021-03-07 23:34:15 +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
411e1c4322 add self mcv rss 2021-02-25 20:36:19 +08:00
yzhh
b92d813f2f Update __init__.py 2021-02-10 23:49:43 +08:00
yzhh
17a21bb90e Update __init__.py 2021-02-10 22:11:26 +08:00
yzhh
68236bdbb4 remove unused module help and refactor user 2021-02-09 21:05:19 +08:00
yzhh
a0ba0d4664 update 2021-02-07 17:56:01 +08:00
yzhh
8a575ba28a fix 2021-02-02 17:33:55 +08:00
yzhh
c43ec564f3 Update __init__.py 2021-02-02 01:43:30 +08:00
yzhh
214ee22ebc bugfix 2021-02-02 01:41:45 +08:00
yzhh
cbd54eebbf Update __init__.py 2021-02-02 00:44:34 +08:00
yzhh
e8933db4ea baka 2021-02-02 00:34:47 +08:00
yzhh
20c38a844c baka 2021-02-02 00:26:00 +08:00
yzhh
004d4ef42e format code 2021-02-01 23:25:57 +08:00
yzhh
0322600068 v3 2021-02-01 23:13:11 +08:00