Skip to main content

emotion.get_current

Overview

  • Returns the current emotion type and level for the target character.

Metadata

FieldValue
DisplayGet Current Emotion
Categoryemotion
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
emotion_typestringyesCurrent emotion type id
levelintyesCurrent emotion level

Usage

await inzoi.cli.execute('emotion.get_current', {
entity_id: 0, // optional
});