Him188
b7f6330ed9
Cancel Member when leaved from group
2020-05-21 16:54:33 +08:00
Him188
b75f90d541
Fix duplicated BotJoinGroupEvent,
...
Improve toString of Active, Kick events,
Cancel Group when kicked,
Fix #319
2020-05-21 16:49:57 +08:00
Him188
12c38b94fe
Fix IllegalStateException when losing packet
2020-05-21 10:38:46 +08:00
Him188
7172ef628c
Fix NPE on initialization of Bot
2020-05-21 10:38:21 +08:00
Him188
61284f1d9b
Improve docs
2020-05-16 14:35:14 +08:00
Him188
ae32536ed5
Move BotImpl
and BotNetworkHandler
to mirai-core-qqandroid.
2020-05-16 14:29:03 +08:00
Him188
46598d686c
Cleanup;
...
Use interface for JavaFriendly APIs;
Deprecate event responder in Bot in the favor of their member functions;
Deprecate `Bot.queryUrl(image: Image)`` in the favor of the extension `Image.queryUrl`
2020-05-16 14:14:21 +08:00
Him188
4cc814cda5
Annotate Bot.selfQQ
with @MiraiExperimentalAPI
2020-05-14 19:24:38 +08:00
Him188
f7533e3cd6
Fix #318
2020-05-11 14:32:52 +08:00
Him188
ba2213d5ae
Update error reporter
2020-05-11 12:13:20 +08:00
Him188
8f65a416cd
Extract events to separate files
2020-05-11 10:04:18 +08:00
Him188
1db7bba837
Make FriendEvent.bot final
2020-05-11 09:53:03 +08:00
Him188
5be7f2bb2d
Fix #315
2020-05-11 09:50:18 +08:00
Him188
06205cb69b
Improve Bot life cycle management, close #317
2020-05-10 15:41:08 +08:00
Him188
90c0c5c549
Optimize experimental API usages
2020-05-10 02:22:16 +08:00
Him188
346aecd68b
Enable progressiveMode
2020-05-09 22:23:02 +08:00
Him188
0f0ca8e2cc
Deprecate Bot.subscribe*
for better Coroutine life cycle management; Add docs
2020-05-09 20:11:25 +08:00
Him188
157bd3740c
Fix #298
2020-05-09 18:26:24 +08:00
Him188
bba66f3952
Fix 288
2020-05-09 18:05:08 +08:00
Him188
c299ed8986
Fix compilation, ignore VIP join notice
2020-05-09 17:19:40 +08:00
Him188
d16a699810
Fix BotFaceChangedEvent
, Add FriendFaceChangedEvent
2020-05-09 17:19:02 +08:00
Him188
51ced7b677
Ignore empty lines
2020-05-09 17:14:34 +08:00
Him188
40dd786f99
Ignore empty string and arrays and 0s in _miraiContentToString
2020-05-09 16:54:28 +08:00
Him188
786c9f3b23
Ignore 732
2020-05-09 16:18:56 +08:00
Him188
f795eeb782
Fix commandName
2020-05-09 16:14:23 +08:00
Him188
1e885dbf7a
Rearrange MessageSvc and OnlinePush
2020-05-09 16:11:29 +08:00
Him188
1c1a37a103
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/MessageSource.kt
2020-05-09 15:38:20 +08:00
Him188
e75888a6e9
Add binary-validator
2020-05-09 15:37:02 +08:00
ryoii
2f3c1b5d8f
BotFaceChangedEvent, closed #271
2020-05-07 22:09:37 +08:00
ryoii
869d2fafd6
Fix #309
2020-05-07 21:44:01 +08:00
Him188
a1322076fc
Improve network availability check
2020-05-07 10:45:19 +08:00
Him188
5cd3178c3f
Make Message.get
returns M?
instead of M
;
...
Deprecate `Message.getOrNull` in favor of `Message.get`;
Add `Message.getOrFail`
2020-05-06 12:38:30 +08:00
Him188
8ca4357eb8
Merge pull request #304 from mamoe/1.0.0
...
1.0.0
2020-05-05 16:10:32 +08:00
Him188
2d9db234d7
Introduce FileCacheStrategy
;
...
Rework `ExternalImage`, introduce `ReusableInput` for multiple attempts when uploading images;
Add `BotConfiguration.fileCacheStrategy`, defaults use cache system from host OS;
Introduce `DeferredReusableInput` for `*.toExternalImage` on JVM.
Deprecate `*.suspendToExternalImage` as no longer need to be suspend.
Open input only when required, close input after uploading files, fix #302
2020-05-05 16:09:32 +08:00
Him188
84cfe2626f
Remove all @SinceMirai("0.x.x")
2020-05-05 13:56:17 +08:00
Him188
4ee27f2069
Fix ambiguous message event names. Fix #299 .
...
Binary compatibility until 1.2.0.
Migrations:
- `MessagePacket` deprecated in favor of `MessageEvent`
- `MessagePacketBase` deprecated in favor of `MessageEvent`
- `ContactMessage` -> `MessageEvent`
- `FriendMessage` -> `FriendMessageEvent`
- `GroupMessage` -> `GroupMessageEvent`
- `TempMessage` -> `TempMessageEvent`
2020-05-05 13:55:01 +08:00
ryoii
01d1625302
Fix a possible bug
2020-05-05 13:45:25 +08:00
ryoii
5635509cbd
Calculate groupCode, fixes #301
2020-05-05 13:25:04 +08:00
Him188
1305709d3e
Extract JCE serialization to him188/jcekt. close #300
2020-05-04 14:48:01 +08:00
Him188
e5404b397b
Simplify MemberPermission comparing
2020-05-03 22:25:57 +08:00
ryoii
f61f3bd331
f88k receive file
2020-05-02 18:45:37 +08:00
Him188
73c700b4b7
Support protocol selecting
2020-05-02 18:42:51 +08:00
Him188
fbf4dd6bb2
Adjust filenames
2020-05-02 18:12:40 +08:00
Him188
6b5cbc3dd7
Implement new ExternalImage and image chunk strategy
2020-05-02 17:58:22 +08:00
Him188
2be325d781
Remove all deprecated APIs
2020-05-02 16:56:18 +08:00
ryoii
107a760d5e
Correct comment
2020-05-02 05:00:53 +08:00
ryoii
1dbeb44f5b
Support Group VoiceMessage receiving
2020-05-02 04:46:51 +08:00
Him188
9924d37e54
Misc improvements
2020-05-01 23:04:24 +08:00
Him188
1a4c3ba602
Simplify Image structure: deprecate online and offline classification.
2020-05-01 21:51:09 +08:00
Him188
15c50c1554
Add note
2020-05-01 16:04:44 +08:00