Commit Graph

1203 Commits

Author SHA1 Message Date
Him188
b59ae076ec Add context getter 2020-02-17 00:16:50 +08:00
jiahua.liu
a2ae001fe1 Console Terminal Chinese Supported 2020-02-16 22:44:56 +08:00
jiahua.liu
47c26e43db Merge remote-tracking branch 'origin/master' 2020-02-16 20:10:24 +08:00
jiahua.liu
e971fd769d Mirai Console (Terminal)V0.01 2020-02-16 20:10:12 +08:00
Him188
eb8660667e Merge remote-tracking branch 'origin/master' 2020-02-16 18:28:31 +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
jiahua.liu
33d5cf566e Mirai Console (Terminal)V0.01 2020-02-16 18:04:42 +08:00
jiahua.liu
d0fb1383a0 Mirai Console V0.01 2020-02-16 17:25:30 +08:00
Him188
ef4588832b Fix publish 2020-02-16 13:54:42 +08:00
Him188
a30b9bc76a Remove redundant permission 2020-02-16 02:42:09 +08:00
Him188
4b345fd3b6
Merge pull request #57 from HoshinoTented/master
Add incoming channel for Bot
2020-02-15 11:25:54 -06:00
Him188
cde551625a Fix ecdh availability detect 2020-02-16 01:21:02 +08:00
Him188
b3c97c1678 Simplify 2020-02-16 01:19:22 +08:00
HoshinoTented
cebdd40e76 add incoming channel 2020-02-16 00:59:56 +08:00
Him188
606879cba1 Test ECDH keyPair before success 2020-02-16 00:19:53 +08:00
Him188
b7e4dc0772 Add default values 2020-02-15 23:24:43 +08:00
Him188
a555180493 Fuck bintray publish 2020-02-15 22:54:17 +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
25b3b2b2be Japt 2020-02-15 15:03:52 +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
f989cd9391 Multiplatform Exceptions to deal with kotlin bug 2020-02-15 12:12:30 +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
066ad39561 Remove ambiguous functions on Android 2020-02-14 22:16:01 +08:00
Him188
8eda95659c Fix multiplatform BotConfiguration 2020-02-14 22:15:29 +08:00
Him188
32c15a47de Remove debugPrintln 2020-02-14 22:06:52 +08:00
Him188
8a4750badb Fix platform implementations 2020-02-14 22:05:59 +08:00
Him188
797cef15e2 Logger: Accept String over Any; Introduce common optional log functions 2020-02-14 22:04:32 +08:00
Him188
2ae7c75a16 Add default values 2020-02-14 21:55:28 +08:00
Him188
ace1174678 Fix configuration 2020-02-14 21:54:03 +08:00
Him188
32e854db29 Improve DeviceInfo 2020-02-14 21:09:36 +08:00
Him188
bf7189fdd5 Slow down heartbeat 2020-02-14 20:31:22 +08:00
Him188
617b231865 japt Events 2020-02-14 20:21:05 +08:00
Him188
843643a78d Add internal functions for japt 2020-02-14 20:20:28 +08:00
Him188
7451991973 Catch missing exceptions thrown under Bot CoroutineScope 2020-02-14 20:19:38 +08:00
Him188
5b4e99c52d Override close explicitly 2020-02-14 20:13:40 +08:00
Him188
afb74ec652 Annotate subscribeInternal with @MiraiInternalAPI 2020-02-14 19:21:43 +08:00
Him188
f37434c663 Remove @MiraiInternalAPI from NetworkHandler 2020-02-14 19:12:50 +08:00
Him188
1993047221 Redesign reconnecting logic 2020-02-14 18:41:24 +08:00
Him188
c03fb41fd0 Add LoginFailedException 2020-02-14 18:40:04 +08:00
Him188
ba946eb249 Add ForceOfflineException for clearer close reason 2020-02-14 18:37:20 +08:00
Him188
2bbc324245 Make @MessageDsl public 2020-02-14 18:33:35 +08:00
Him188
98b0073f81 Add BotOfflineEvent.Dropped and BotReloginEvent 2020-02-14 18:20:31 +08:00
Him188
8bf302d386 Annotate readTlvMap with @MiraiInternalIp 2020-02-14 13:45:46 +08:00
Him188
1058377663 Support AtAll in message.first() 2020-02-14 10:21:33 +08:00
Him188
8f03d44df1 Add shortcut 2020-02-13 16:09:10 +08:00
Him188
a3945924a4 Add docs 2020-02-13 13:42:32 +08:00
Him188
184e595896 Fix gradle dependency 2020-02-13 13:18:51 +08:00
Him188
e2136b5c40 Make easier 2020-02-13 09:53:32 +08:00
Him188
8e05595bac Add return values to MessageDsl subscribers 2020-02-13 09:47:45 +08:00
Him188
631ca4f639 Fix duplicated function name 2020-02-13 09:41:32 +08:00
Him188
d365ec5b4e New feature: AtAll 2020-02-13 09:36:47 +08:00
Him188
46fc012fa3 Add AtAll 2020-02-13 09:36:17 +08:00
Him188
fe8ed44ef2 Fix At.followedBy 2020-02-13 09:36:02 +08:00
Him188
397861500f Message DSL: add String.reply(Message) 2020-02-13 09:35:43 +08:00
Him188
21c2fb5766 Set defaultLogger initially disabled 2020-02-13 09:21:25 +08:00
Him188
0221767aa8 Remove unused configurations 2020-02-13 09:11:19 +08:00
Him188
fbe973f3a1 Fix false positive mute state 2020-02-13 09:06:39 +08:00
Him188
9a8a992977 Add note 2020-02-13 01:11:03 +08:00
Him188
3be82bb53d Fix doc 2020-02-13 01:07:50 +08:00
Him188
7ff9783daa Add docs 2020-02-13 01:06:54 +08:00
Him188
7cd65f92af Fix build 2020-02-13 00:27:07 +08:00
jiahua.liu
aca459f60d Merge remote-tracking branch 'origin/master' 2020-02-13 00:11:31 +08:00
jiahua.liu
55e70bd3c3 smart config 2020-02-13 00:10:59 +08:00
Him188
cc42069196 Add BotUnmuteEvent 2020-02-12 23:54:27 +08:00
Him188
9694991592 Make EventLogger public so as to be able to enable 2020-02-12 23:47:26 +08:00
Him188
da32f5190f Add event log 2020-02-12 23:30:58 +08:00
Him188
d36727718b Remove get() 2020-02-12 23:30:52 +08:00
Him188
3ab0e67516 Introduce logger supplier, close #43 2020-02-12 23:24:37 +08:00
Him188
defaf83a07 Make var EventDisabled visible 2020-02-12 23:24:14 +08:00
Him188
fec3702ba9 Improve performance 2020-02-12 23:09:34 +08:00
Him188
348d13a4c1 Handle event of new member joining 2020-02-12 23:09:23 +08:00
Him188
3b0ee9ad99 Fix #42 2020-02-12 22:24:57 +08:00
Him188
35c7e7947f Remove redundant nullable signal 2020-02-12 20:59:14 +08:00
Him188
426784324f Rename addLastAll to addAll 2020-02-12 20:54:08 +08:00
Him188
fda644d248 Ensure info accessibility 2020-02-12 20:48:06 +08:00
Him188
999ce68cec Fix addLastAll 2020-02-12 20:47:30 +08:00
Him188
51ee123a1e Introduce information descriptors for contacts 2020-02-12 20:03:19 +08:00
Him188
b0d274dd1a Adjust param type: accept null in UnsafeWeakRef<T>.getValue 2020-02-12 20:02:30 +08:00
Him188
e3241654dc Implement BroadcastControllable, so duplicated events are ignored 2020-02-12 20:01:36 +08:00
Him188
ec115e83b1 Add Iterable<E>.toLockFreeLinkedList() and Sequence<E>.toLockFreeLinkedList() 2020-02-12 20:00:52 +08:00
Him188
fbe5f14a9c Merge remote-tracking branch 'origin/master' 2020-02-12 19:09:29 +08:00
jiahua.liu
e072c5b10e Get Kicker 2020-02-12 17:10:32 +08:00
Him188
f91a44ba55 Add quick reference to DSL 2020-02-12 16:14:27 +08:00
Him188
905d4ede9a Fix build 2020-02-12 13:52:07 +08:00
Him188
e33fea8a3f Remove override 2020-02-12 09:07:40 +08:00
Him188
80a3a9a65e Add shortcuts 2020-02-12 09:04:25 +08:00
Him188
5bd96876d9 Add event broadcast 2020-02-11 22:06:03 +08:00
Him188
dfa3af5643 Fix build 2020-02-11 21:33:03 +08:00
Him188
bc71475f35 Add event broadcasting 2020-02-11 21:29:28 +08:00
Him188
96db7a6062 Remove BroadcastControllable from GroupMessage 2020-02-11 21:29:03 +08:00
Him188
049cf30659 New event design 2020-02-11 20:40:35 +08:00
Him188
63b5785b2d Add MemberCardChangeEvent 2020-02-11 19:55:03 +08:00