feat: unify authored activity commands
This commit is contained in:
@@ -73,9 +73,9 @@ static func accepted(command_id: StringName, payload: Dictionary = {}) -> Action
|
||||
|
||||
|
||||
static func rejected(
|
||||
command_id: StringName, reason_code: StringName, message: String = ""
|
||||
command_id: StringName, reason_code: StringName, message: String = "", payload: Dictionary = {}
|
||||
) -> ActionResult:
|
||||
return ActionResult.new(command_id, STATUS_REJECTED, reason_code, message)
|
||||
return ActionResult.new(command_id, STATUS_REJECTED, reason_code, message, payload)
|
||||
|
||||
|
||||
static func completed(command_id: StringName, payload: Dictionary = {}) -> ActionResult:
|
||||
|
||||
Reference in New Issue
Block a user