$aiDecide

Premium

Asks AI a yes/no question about the provided content and returns true or false.

Syntax

$aiDecide[Content;Question]

AI Quota

Each call to $aiDecide[] consumes tokens from your daily quota. Use $aiQuota to check how many tokens you have left.

Parameters

  • Content (Type: String || Flag: Required): The content to evaluate, for example: a message or variable.
  • Question (Type: String || Flag: Required): A yes/no question about the content, for example: “Does this message contain profanity?”.

Returns

Returns true if the AI answers yes, or false if it answers no.

Example

$nomention
$if[$aiDecide[$message;Is this message a question?]==true]
  That looks like a question!
$else
  That's not a question.
$endif
!example What time is it? That looks like a question!

Tip

Use $aiDecideWithCtx[] if you want AI to automatically receive the full Discord message context.