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
yzhh
5419986563
module list -> modules
2022-05-26 00:15:08 +08:00
yzhh
625076cac1
remove unused files
2022-05-22 23:23:12 +08:00
yzhh
5a943b641a
update
2022-05-22 23:10:24 +08:00
yzhh
4dc551a25f
update
2022-05-22 23:05:06 +08:00
yzhh
c3e4c359ff
Update message.py
2022-05-22 22:50:46 +08:00
yzhh
ec7fe4b305
Update message.py
2022-05-22 22:48:07 +08:00
yzhh
acc146a4a5
Update message.py
2022-05-22 22:42:54 +08:00
yzhh
7f32145323
Update message.py
2022-05-22 22:36:37 +08:00
yzhh
bb4a496974
logging
2022-05-22 22:09:38 +08:00
yzhh
0c79f15b7c
bugfix
2022-05-22 21:57:39 +08:00
yzhh
ecb99df7ae
FinishedException
2022-05-22 00:04:29 +08:00
yzhh
ccef2e6e40
Update message.py
2022-05-15 23:55:04 +08:00
yzhh
3a6a5162fe
Update message.py
2022-05-12 22:25:22 +08:00
yzhh
0b085cec64
Revert "temporary change logging level for test"
...
This reverts commit 55d8621007
.
2022-05-08 23:28:12 +08:00
yzhh
55d8621007
temporary change logging level for test
2022-05-08 23:23:56 +08:00
yzhh
fc68d9ba8d
test
2022-05-08 23:15:20 +08:00
yzhh
cf6ba4397d
test
2022-05-08 23:13:29 +08:00
yzhh
1e453bae08
fixed an logger format issue
2022-05-08 14:32:42 +08:00
yzhh
2ce6a25e5c
Update client.py
2022-05-08 13:48:16 +08:00
yzhh
24aa5d0712
update anti-autofilter wordlist
2022-04-23 22:32:08 +08:00
yzhh
7acf2f2739
temporarily disable dungeons module
2022-04-23 22:22:56 +08:00
yzhh
ce7b0f0d10
Update message.py
2022-04-14 18:57:20 +08:00
yzhh
d4723754dc
Update chain.py
2022-04-04 14:20:22 +08:00
yzhh
0275abb5c4
convert discord embed
2022-04-04 14:16:39 +08:00
yzhh
8cfdaa2da2
update
2022-04-01 22:55:21 +08:00
yzhh
3bc048ea6b
mention
2022-03-16 19:20:30 +08:00
yzhh
96ae41cdb7
.
2022-03-05 21:34:08 +08:00
yzhh
cbebb93d1b
Update __init__.py
2022-02-27 18:43:21 +08:00
yzhh
cf4a107352
Revert "Update component.py"
...
This reverts commit b433283dfa
.
2022-02-25 22:22:57 +08:00
yzhh
b433283dfa
Update component.py
2022-02-24 23:48:20 +08:00
yzhh
0ed82bb870
Update __init__.py
2022-02-06 20:36:13 +08:00
yzhh
1608c18def
enable middleman and disable poke for security
...
for QQ
2022-02-06 17:39:18 +08:00
yzhh
f9a1812599
disable auto approve friend requests
2022-02-04 15:24:02 +08:00
yzhh
47d8b444c3
Update message.py
2022-02-02 13:16:49 +08:00
yzhh
42ada25131
update
2022-01-29 19:25:23 +08:00
yzhh
d165d6525b
Update __init__.py
2022-01-29 16:49:13 +08:00
yzhh
ebf7115e8d
pageid query support for wiki module
2022-01-27 21:16:53 +08:00
yzhh
0ef1033e26
.
2022-01-26 22:13:36 +08:00
yzhh
1a530e12f7
update
2022-01-26 21:45:17 +08:00
yzhh
025cf1f997
u
2022-01-26 17:52:17 +08:00
yzhh
f0cb6f06e3
Remove FetchedTarget.sendMessage and add FetchedTarget.sendDirectMessage methods
2022-01-26 16:54:57 +08:00
yzhh
b23cee7d03
Update message.py
2022-01-25 15:04:50 +08:00
yzhh
fcc0323a1a
update
2022-01-20 21:31:50 +08:00
yzhh
3c974216fc
Update logger.py
2022-01-20 21:06:06 +08:00
yzhh
4dd346eaad
autoformat
2022-01-20 20:13:03 +08:00
yzhh
e7e5cf4efe
Update chain.py
2022-01-18 20:57:04 +08:00
yzhh
ba8b5c9671
Update logger.py
2022-01-18 20:46:56 +08:00
yzhh
6aaf33f28c
some changes to logging
2022-01-18 20:32:43 +08:00
yzhh
bd9ea33f6b
Update bot.py
2022-01-18 18:14:38 +08:00
yzhh
bfec03fb96
Merge branch 'master' of https://github.com/Teahouse-Studios/bot
2022-01-18 17:57:25 +08:00
yzhh
90eea43b53
add disable_mm option
2022-01-18 17:57:22 +08:00
Dianliang233
5f42a883e8
Debug
2022-01-18 12:06:09 +08:00
yzhh
bf16cd5a96
aaaaaaaaaaa
2022-01-17 23:34:07 +08:00
yzhh
c1356a6c69
aaaaaa
2022-01-17 23:30:38 +08:00
yzhh
a6979301df
caesar encrypt
2022-01-17 22:54:59 +08:00
yzhh
7044b45c8a
Update bot.py
2022-01-17 22:38:42 +08:00
yzhh
f27a386c67
temporary enable middleman for aiocqhttp
2022-01-17 22:35:51 +08:00
yzhh
e73323a5fa
add Url elements
2022-01-17 21:28:49 +08:00
yzhh
80df75f2f2
Update message.py
2022-01-16 21:44:57 +08:00
yzhh
23919cc8ee
support reply to confirm[aiocqhttp only]
2022-01-16 21:44:24 +08:00
yzhh
27603b6917
..wait
2022-01-16 21:25:39 +08:00
yzhh
b9b5c00702
more feature attributes
2022-01-16 21:24:15 +08:00
yzhh
93871b87d0
add FinishedSession
2022-01-15 22:28:35 +08:00
yzhh
39675bf5d4
add FetchedSession
2022-01-15 21:46:23 +08:00
yzhh
b8ef0a4b00
Update message_guild.py
2022-01-14 22:26:09 +08:00
yzhh
b5fc21b7c6
add detail for recording unfriendly actions
2022-01-14 21:03:15 +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
cfc84471fd
Update
2022-01-14 17:51:17 +08:00
MysticNebula70
faa672fa7c
Update __init__.py
2022-01-14 17:34:22 +08:00
MysticNebula70
eea5d68cfd
Update __init__.py
2022-01-14 17:32:45 +08:00
yzhh
2d467a1cf3
Reimplement restart command #121
2022-01-13 23:50:17 +08:00
yzhh
c916c82de0
Update message.py
2022-01-13 20:09:51 +08:00
yzhh
2a20973045
remove smms
...
unused
2022-01-13 20:08:14 +08:00
yzhh
df28ecefb6
add site whitelist to KeCode for security
2022-01-10 23:30:41 +08:00
yzhh
044b588d89
re-support embed image
...
discord side needs the smms image hosting token to send image
2022-01-10 22:32:47 +08:00
Dianliang233
f810cca4ae
Merge branch 'master' into dev/meme
2022-01-08 22:04:08 +08:00
Dianliang233
a0344f8d3d
Add nbnhhsh from dev/meme
2022-01-08 20:27:46 +08:00
Dianliang233
a7344fe10e
Merge branch 'dev/meme' of https://github.com/Teahouse-Studios/bot into dev/meme
2022-01-08 19:25:23 +08:00
Dianliang233
63656af42f
several bugfixes
...
The part of query jikiwiki still doesn't work
2022-01-08 19:23:31 +08:00
Dianliang233
fa658791fd
Add some code, need to be debugged
2022-01-08 19:21:51 +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
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
yzhh
30107139ab
Update image_table.py
2022-01-08 00:27:57 +08:00
yzhh
bb1995e882
Update image_table.py
2022-01-08 00:26:38 +08:00
yzhh
028ad877b9
Update image_table.py
2022-01-08 00:21:08 +08:00
yzhh
eec737c75d
Update image_table.py
2022-01-07 23:50:43 +08:00
yzhh
17ff0f0b16
add httpcat
2022-01-07 23:16:28 +08:00
yzhh
7a84dde223
add KeCode
...
Used in situations where the use of Message elements is not suitable
2022-01-07 23:02:57 +08:00
yzhh
ef80952954
update
2022-01-05 19:14:45 +08:00
yzhh
ec102ba7e4
Update chain.py
2022-01-04 23:32:09 +08:00
yzhh
a5d2cd0e5d
several bugfixes
...
The part of query jikiwiki still doesn't work
2022-01-04 23:28:14 +08:00
Dianliang233
beeda64d7c
Add some code, need to be debugged
2022-01-03 17:13:42 +08:00
yzhh
71bc955970
Update chain.py
2022-01-01 01:53:08 +08:00
yzhh
e6d7cca52f
Use Error Message Template
2021-12-31 23:08:23 +08:00
yzhh
2af03986e1
add MessageChain elements
2021-12-31 22:44:34 +08:00
yzhh
eec8eca672
Update message.py
2021-12-26 12:04:12 +08:00
yzhh
650a76a194
add embed elements
2021-12-25 22:01:33 +08:00
yzhh
9f6e1c1cc2
update
2021-12-25 16:00:59 +08:00
yzhh
75b3a45263
bugfix
2021-12-24 00:18:46 +08:00
yzhh
4b6c60abd6
Update message.py
2021-12-22 21:13:12 +08:00
yzhh
c832c8fc19
Update message.py
2021-12-22 21:09:37 +08:00
yzhh
e7f662ac4b
add sudo command
2021-12-22 21:06:40 +08:00
yzhh
808e599a4b
use modified html2text
...
To remove link title
2021-12-06 20:49:50 +08:00
Dianliang233
969f3fb76a
Patch secret check to not include empty strings
2021-12-04 16:50:53 +08:00
yzhh
463d2c9982
Update message.py
2021-12-03 19:50:52 +08:00
yzhh
6bcba0c368
bugfix
2021-11-25 23:40:30 +08:00
yzhh
91d44b020d
update issue template
2021-11-21 21:20:07 +08:00
yzhh
3012e12206
replace old link
2021-11-20 23:30:03 +08:00
yzhh
8468f3ed76
Update message_guild.py
2021-11-20 00:53:57 +08:00
yzhh
b457b61fa1
Update command.py
2021-11-20 00:52:08 +08:00
yzhh
1b4f5c585d
Update command.py
2021-11-20 00:49:48 +08:00
yzhh
c258554be0
ignore self message
2021-11-20 00:40:47 +08:00
yzhh
f9dce522e3
global enable/disable test
2021-11-20 00:33:53 +08:00
yzhh
ef9ad9b746
Update message.py
2021-11-19 12:55:05 +08:00
yzhh
80997a49d4
Update message.py
2021-11-18 18:48:07 +08:00
yzhh
40f2a473c9
bugfix
2021-11-18 00:17:41 +08:00
yzhh
5b7c0b3261
Update message.py
2021-11-17 22:20:51 +08:00
yzhh
58acfa97f6
add secret check
2021-11-17 22:14:57 +08:00
yzhh
e0dda4dd08
bugfix
2021-11-17 07:08:09 +08:00
yzhh
e06f1dd13b
guild support
2021-11-16 22:19:48 +08:00
yzhh
37cf06dd15
why i do this
...
BlackList -> BlockList
WhiteList -> allowList
2021-11-16 00:26:11 +08:00
yzhh
3f863fe1bc
add toggle typing
2021-11-14 17:57:53 +08:00
yzhh
754685f22d
Update dirty_check.py
2021-11-13 18:53:04 +08:00
yzhh
8e301fd1be
bugfix?
2021-11-13 13:40:19 +08:00
yzhh
50423ceff5
Update bot.py
2021-11-12 22:55:29 +08:00
yzhh
0f4c439150
Update bot.py
2021-11-12 22:45:31 +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
3a48f59441
Update bot.py
2021-11-10 13:00:03 +08:00
yzhh
50d7220bde
bugfix
2021-11-09 21:48:41 +08:00
yzhh
d47d41e295
Update message.py
2021-11-09 11:24:40 +08:00
yzhh
f646fa9f8c
Update message.py
2021-11-09 00:22:36 +08:00
yzhh
c4e166bd8c
update
2021-11-09 00:09:06 +08:00
yzhh
95143a00c0
Update bot.py
2021-11-06 20:59:35 +08:00