Skip to main content

memory.has_milestone

Overview

  • Checks whether the target character has acquired the given milestone.

Metadata

FieldValue
DisplayHas Milestone
Categorymemory
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)
milestone_idnameyesMilestone ID to check

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
entity_identityIdyesOwner entity id
milestone_idstringyesMilestone id checked
has_milestoneboolyesWhether the milestone is acquired

Usage

await inzoi.cli.execute('memory.has_milestone', {
entity_id: 0, // optional
milestone_id: '',
});