mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-05 00:10:13 +08:00
Fix various ReplaceWith
This commit is contained in:
parent
5c808238dc
commit
906fbfc191
@ -301,7 +301,7 @@ abstract class Bot internal constructor(
|
||||
* @param event 邀请入群的事件对象
|
||||
*/
|
||||
@PlannedRemoval("1.2.0")
|
||||
@Deprecated("use member function.", replaceWith = ReplaceWith("event.accept"))
|
||||
@Deprecated("use member function.", replaceWith = ReplaceWith("event.accept()"))
|
||||
@JvmSynthetic
|
||||
abstract suspend fun acceptInvitedJoinGroupRequest(event: BotInvitedJoinGroupRequestEvent)
|
||||
|
||||
@ -311,7 +311,7 @@ abstract class Bot internal constructor(
|
||||
* @param event 邀请入群的事件对象
|
||||
*/
|
||||
@PlannedRemoval("1.2.0")
|
||||
@Deprecated("use member function.", replaceWith = ReplaceWith("event.ignore"))
|
||||
@Deprecated("use member function.", replaceWith = ReplaceWith("event.ignore()"))
|
||||
@JvmSynthetic
|
||||
abstract suspend fun ignoreInvitedJoinGroupRequest(event: BotInvitedJoinGroupRequestEvent)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user