Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
d024d1c9
Commit
d024d1c9
authored
Mar 01, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`Recall` is now stable for group messages
parent
03e22bcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/Bot.kt
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/Bot.kt
+1
-3
No files found.
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/Bot.kt
View file @
d024d1c9
...
@@ -240,7 +240,7 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor {
...
@@ -240,7 +240,7 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor {
*/
*/
abstract
fun
close
(
cause
:
Throwable
?
=
null
)
abstract
fun
close
(
cause
:
Throwable
?
=
null
)
@UseExperimental
(
LowLevelAPI
::
class
)
@UseExperimental
(
LowLevelAPI
::
class
,
MiraiExperimentalAPI
::
class
)
final
override
fun
toString
():
String
=
"Bot(${uin})"
final
override
fun
toString
():
String
=
"Bot(${uin})"
}
}
...
@@ -254,7 +254,6 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor {
...
@@ -254,7 +254,6 @@ abstract class Bot : CoroutineScope, LowLevelBotAPIAccessor {
* @throws PermissionDeniedException 当 [Bot] 无权限操作时
* @throws PermissionDeniedException 当 [Bot] 无权限操作时
* @see Bot.recall
* @see Bot.recall
*/
*/
@MiraiExperimentalAPI
suspend
inline
fun
Bot
.
recall
(
message
:
MessageChain
)
=
this
.
recall
(
message
[
MessageSource
])
suspend
inline
fun
Bot
.
recall
(
message
:
MessageChain
)
=
this
.
recall
(
message
[
MessageSource
])
/**
/**
...
@@ -281,7 +280,6 @@ fun Bot.recallIn(
...
@@ -281,7 +280,6 @@ fun Bot.recallIn(
* @param coroutineContext 额外的 [CoroutineContext]
* @param coroutineContext 额外的 [CoroutineContext]
* @see recall
* @see recall
*/
*/
@MiraiExperimentalAPI
fun
Bot
.
recallIn
(
fun
Bot
.
recallIn
(
message
:
MessageChain
,
message
:
MessageChain
,
millis
:
Long
,
millis
:
Long
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment