MiraiFriendRemarkChangeEvent

好友昵称改变事件.

MiraiFriendRemarkChangeEvent 事件属于一个 已变更事件, 变更前后的类型为 String, 变更源为 MiraiFriend.

See also

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend override fun after(): String

变更后昵称

Link copied to clipboard
abstract suspend override fun before(): String

变更前昵称

Link copied to clipboard
abstract suspend override fun friend(): MiraiFriend

涉及到的 Mirai好友

Link copied to clipboard
open suspend override fun source(): MiraiFriend

变更昵称的好友,同 friend

Link copied to clipboard
open suspend override fun user(): MiraiFriend

涉及到的 Mirai好友,同 friend

Properties

Link copied to clipboard
open val after: Any?
Link copied to clipboard
Link copied to clipboard
open val before: Any?
Link copied to clipboard
Link copied to clipboard
abstract override val bot: MiraiBot

事件中的bot对象。

Link copied to clipboard
abstract val changedTime: Timestamp
Link copied to clipboard
open override val component: Component
Link copied to clipboard
open override val friend: Friend
Link copied to clipboard
open override val friendAsync: CompletableFuture<out Friend>
Link copied to clipboard
abstract override val id: ID

事件的唯一标识。 Mirai事件中并不一定存在id,当原始事件中没有ID的情况下,将会生成一个随机ID。

Link copied to clipboard
Link copied to clipboard
abstract override val originalEvent: FriendRemarkChangeEvent

原始的mirai事件对象

Link copied to clipboard
open val source: Any
Link copied to clipboard
Link copied to clipboard
abstract val timestamp: Timestamp
Link copied to clipboard
open override val user: Friend
Link copied to clipboard
open override val userAsync: CompletableFuture<out Friend>