Commit Graph

729 Commits

Author SHA1 Message Date
Him188
7c3debc00c Fix GroupMessage subscribing 2020-02-20 17:16:46 +08:00
Him188
3d4ff807af Add MessageSource.time 2020-02-20 13:24:27 +08:00
Him188
f5a6040668 Add additional coroutineScope parameter 2020-02-20 13:20:36 +08:00
Him188
37cea58a19 Fix ambiguous eq 2020-02-20 13:18:59 +08:00
Him188
1bcac33151 Move At.member from GroupMessage to MessagePacket 2020-02-20 11:52:26 +08:00
Him188
7838ccf042 Adjust file names 2020-02-20 11:23:37 +08:00
Him188
3c29474c0b Correct groupCardOrNick to nameCardOrNick 2020-02-19 20:37:53 +08:00
Him188
e66cfc95a7 Unified toString: "[mirai:$imageId]" 2020-02-19 20:28:29 +08:00
Him188
a81eea422b Face decoding 2020-02-19 20:28:10 +08:00
Him188
c32843fbf3 Add Short.toByteArray() 2020-02-19 20:13:57 +08:00
Him188
abe5db2023 Add MessageChain.foreachContent(lambda) and Message.hasContent() 2020-02-19 19:56:00 +08:00
Him188
de15339929 Fix platform declaration clash 2020-02-19 19:11:46 +08:00
Him188
2322387f73 Add bot.subscribe, close #61 2020-02-19 19:10:14 +08:00
Him188
c3bd03fcae Improve logs 2020-02-19 18:36:04 +08:00
Him188
2deb1601a8 No broadcast for events from friend message syncing 2020-02-19 18:28:58 +08:00
Him188
32abb01861 Fix tryNTimes 2020-02-19 18:03:37 +08:00
Him188
e878307c13 Fix event broadcasting 2020-02-19 14:43:31 +08:00
Him188
9de13ca6fd Fix ECDH 2020-02-19 14:15:38 +08:00
Him188
4798b8c1ec Remove unnecessary if 2020-02-19 13:26:17 +08:00
Him188
c20040f1ac Add common property isEnabled to all loggers 2020-02-19 12:20:21 +08:00
Him188
c937511412 Fix login retry 2020-02-19 12:16:28 +08:00
Him188
4f7b266e03 Add tryCount param to lambda 2020-02-19 12:16:17 +08:00
Him188
3b7a9b6d42 Fix logger 2020-02-19 12:16:05 +08:00
Him188
67c31ed0cb Add logs before and after logging in 2020-02-19 11:41:14 +08:00
Him188
b2e0114e4f Adjust job cancelling hence fix #65 2020-02-19 11:28:23 +08:00
Him188
9b58606366 Fix initialization error 2020-02-18 21:46:09 +08:00
Him188
7ad3bfbf8f Add MiraiAtomicBoolean, fuck atomicfu 2020-02-18 21:05:51 +08:00
Him188
757bedc657 Suppress EXTENSION_SHADOWED_BY_MEMBER 2020-02-18 13:38:11 +08:00
Him188
2b4d9a8e79 Add tryNTimes 2020-02-18 13:35:14 +08:00
Him188
4bec7d753b Make java user happier 2020-02-18 13:18:30 +08:00
Him188
efa404d0d3 Try fix compilation bug 2020-02-17 18:36:08 +08:00
Him188
69ff377654 Add references 2020-02-17 14:14:16 +08:00
Him188
0be36f71b8 More useful .incoming 2020-02-17 14:13:18 +08:00
Him188
9b3bc88b3d Add Bot.closeAndJoin 2020-02-17 09:39:02 +08:00
Him188
7d283808f7 Rename awaitDisconnection to join 2020-02-17 09:26:32 +08:00
Him188
b59ae076ec Add context getter 2020-02-17 00:16:50 +08:00
Him188
dcddcc9229 Change lambda parameter of onEvent for matching(Regex) and finding(Regex) to MatchResult 2020-02-16 18:25:37 +08:00
HoshinoTented
cebdd40e76 add incoming channel 2020-02-16 00:59:56 +08:00
ryoii
f8282e7d4d correct default At display name 2020-02-15 18:03:48 +08:00
Him188
04da180071 Fix has 2020-02-15 17:21:41 +08:00
Him188
7ddf93988b Remove @JvmStatic for JDK1.6 compatibility 2020-02-15 14:15:35 +08:00
Him188
98de5893d7 Add @JvmStatic and @JvmOverloads 2020-02-15 14:13:07 +08:00
Him188
dd9e59aabe Implement Event explicitly 2020-02-15 14:12:51 +08:00
Him188
ba212d2b7a Generate equals and hashCode for BotAccount 2020-02-15 13:10:12 +08:00
Him188
45d5131e32 Unified exception throw 2020-02-15 13:08:27 +08:00
Him188
5eb731e975 Adjust property names 2020-02-15 12:12:10 +08:00
Him188
5d629fe644 Close #55 2020-02-15 11:10:37 +08:00
Him188
2e614f65f9 EventListeners: use atomic lock to avoid redundant object creation 2020-02-15 11:04:33 +08:00
Him188
2b464a287e Add MessageSource.quote 2020-02-14 22:26:40 +08:00
Him188
8eda95659c Fix multiplatform BotConfiguration 2020-02-14 22:15:29 +08:00