mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
修正 websocket 中 alias 的名称
修正 QuickOperation 中 错误的返回
This commit is contained in:
parent
d6142173c9
commit
4a6109fbe6
@ -16,7 +16,7 @@ import moe.fuqiuluo.symbols.OneBotHandler
|
||||
import moe.fuqiuluo.symbols.decodeProtobuf
|
||||
import protobuf.fav.WeiyunComm
|
||||
|
||||
@OneBotHandler("fav.add_text_msg", ["fav.add_text_msg"])
|
||||
@OneBotHandler("fav.add_text_msg", ["fav.add_text_message"])
|
||||
internal object FavAddTextMsg: IActionHandler() {
|
||||
override suspend fun internalHandle(session: ActionSession): String {
|
||||
val uin = session.getLong("user_id")
|
||||
|
@ -106,7 +106,7 @@ internal object QuickOperation : IActionHandler() {
|
||||
}
|
||||
|
||||
|
||||
return logic("操作成功", session.echo)
|
||||
return ok("操作成功", session.echo)
|
||||
}
|
||||
|
||||
override val requiredParams: Array<String> = arrayOf("context", "operation", "self_id")
|
||||
|
Loading…
x
Reference in New Issue
Block a user