Event

interface Event

脚本事件对象.

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getChannel(): String

获取事件所属的频道.

Link copied to clipboard
abstract fun getData(): String?

获取事件内容.

Link copied to clipboard
abstract fun getTime(): ScriptDateTime

获取事件生成时间.

Link copied to clipboard
abstract fun setData(data: String?)

设置事件内容.