ryoii
bb3944d5ae
Support handle bot invited into a group, close #259
2020-04-25 00:24:16 +08:00
Karlatemp
7271ff375d
#257 的追加修正 ( #267 )
...
* Rename
* Fix resource missing
* Fix typo
2020-04-24 21:32:56 +08:00
Him188
bf4b56ab07
Fix calculateImageMd5ByImageId
2020-04-24 16:55:39 +08:00
Him188
09524da1e9
Add docs, rearrange implementations
2020-04-24 16:41:21 +08:00
Him188
716e3ade48
Rearrange deprecated functions
2020-04-24 15:14:06 +08:00
Him188
077885465b
Add docs, rearrange implementations
2020-04-24 15:12:50 +08:00
Him188
92a1b0d4df
Add imageId regex, fix #262
2020-04-24 15:12:33 +08:00
Karlatemp
d57ce6eb09
#257 additional display repair ( #260 )
...
* LoginSolver, gui support
* make `internal`,`object`, and rename.
* Edit message
* Edit message
2020-04-24 10:19:15 +08:00
Karlatemp
0ede49896e
LoginSolver swing ( #257 )
...
* LoginSolver, gui support
* make `internal`,`object`, and rename.
2020-04-24 10:03:27 +08:00
Him188
331d9d5e3f
Fix incompatible Bot.instances
2020-04-24 09:10:00 +08:00
Him188
96ed65442d
Fix missing ForwardMessage.Key
in firstOrNull
2020-04-23 21:36:39 +08:00
Him188
848c50ae9d
Remove incompatible functions
2020-04-23 20:46:32 +08:00
Him188
1f97454b37
Fix unhandled BotOfflineEvent.Force
2020-04-23 20:41:23 +08:00
Him188
437f9db575
Unified Image suffix: .mirai
2020-04-23 20:37:01 +08:00
Him188
5ad5c17a60
Add examples
2020-04-23 20:18:48 +08:00
Him188
2d96314d72
Cleanup
2020-04-23 19:29:19 +08:00
Him188
5b2ae6e9ad
Simplify Image structure, close #244
2020-04-23 17:10:21 +08:00
Him188
eb123bb3a9
Fix #242
2020-04-23 14:46:30 +08:00
Him188
83f721c59a
Cleanup
2020-04-23 14:20:55 +08:00
Him188
1b4e1475a0
Support ForwardMessage DSL
2020-04-23 14:17:24 +08:00
Him188
6734403fb0
Add User.nameCardOrNick
; Rename Member.takeIfFriend
to Member.takeIfIsFriend
; Replace fun Member.isMuted()
with val Member.isMuted
2020-04-23 14:16:40 +08:00
Him188
efb186e26d
Add ContactMessage.senderName
2020-04-23 11:57:38 +08:00
Him188
454205a6af
Add ContactMessage.time
2020-04-23 11:52:44 +08:00
Him188
1786c95e07
Support merged forward messages!
2020-04-22 22:09:53 +08:00
Him188
bb4c13d789
Add docs
2020-04-22 20:13:34 +08:00
Him188
7116173ed7
Rearrange MessageSource
2020-04-22 20:07:48 +08:00
Him188
d9135cb8a3
Fix #248
2020-04-22 19:57:38 +08:00
Him188
72fb82c01f
Remove MPP EventCancelledException
2020-04-22 18:42:26 +08:00
Him188
3545482034
Fix #253
2020-04-22 18:39:10 +08:00
Him188
66f4620292
Add MessageSource.internalId
, support OfflineMessageSource
building
2020-04-22 18:35:30 +08:00
Him188
6311c39c97
Enhance MessageChainBuilder
2020-04-22 18:34:44 +08:00
Him188
0acb89cd36
Extract implementations; Introduce OnlineMessageSource.toOffline
2020-04-22 17:13:09 +08:00
Him188
3e644426c8
Make MessageChainBuilder
open
2020-04-22 17:03:06 +08:00
Him188
a63af80668
Deprecate QQ
...
Introduce `Friend` extending `User`
Introduce `User` acting as the superclass of `Friend` and `Member`
Add extensions `Member.asFriend`, etc.
Remove specialized `Contact.hashCode` and `Contact.equals`, inherit from `kotlin.Any`
Specify `toString` behavior in abstract `Contact` classes, instead of in implementation classes.
Add virtual member `Contact.sendMessage(String)`
Migrate the project from using `QQ` to `Friend`
Remove multiplatform Contact class structure, keep them common.
Remove extension `Long.at` in `GroupMessage`, `QQ.at` in `ContactMessage`.
Add `At.asMember()` in `GroupMessage`.
Make `calculateGroupUinByGroupCode`, `calculateGroupCodeByGroupUin` static on JVM.
2020-04-22 16:08:04 +08:00
Him188
3c9b057ad0
Rename Identified
to ContactOrBot
, remove experimental annotations
2020-04-22 14:03:29 +08:00
Him188
4b05cb45d1
Use List
instead of Sequence
2020-04-22 13:40:51 +08:00
Him188
373ad9e8aa
Replace Bot.instances: List<WeakRef>
with Bot.instances: Sequence<Bot>
2020-04-22 13:40:40 +08:00
Him188
d40e3ee745
Make BotIsBeingMutedException.botMuteRemaining
inline
2020-04-22 13:18:59 +08:00
Him188
3471684117
Add more DSL clauses
2020-04-22 12:41:51 +08:00
Him188
5aa85ba05c
?
2020-04-22 12:35:24 +08:00
Him188
9ad8dfa79b
Make crossinline
2020-04-22 12:16:27 +08:00
Him188
be6cc718c6
Fix version number
2020-04-22 11:51:21 +08:00
Him188
b78d9ad3bb
Rearrange tests
2020-04-22 11:40:44 +08:00
Him188
9ae02b5ade
Fix build
2020-04-22 11:36:57 +08:00
Him188
a662362131
Fix build
2020-04-22 11:36:27 +08:00
Him188
ca216bc492
Fix syncFromEvent
, add Tests
2020-04-21 14:51:50 +08:00
Him188
422e8a9b4b
Rename MessagePacket.kt
to ContactMessage.kt
2020-04-21 14:37:54 +08:00
Him188
a516764630
Simplify expressions
2020-04-21 14:35:04 +08:00
Him188
069a88e803
Remove senseless contracts
2020-04-21 14:31:28 +08:00
Him188
d94b1d3279
Rename subscribingGet
to syncFromEvent
, subscribingGetAsync
to asyncFromEvent
; Improve docs
2020-04-21 14:30:35 +08:00