$aiDecideWithCtx

Premium

Asks AI a yes/no question about the Discord message context and returns true or false.

Syntax

$aiDecideWithCtx[Question]

AI Quota

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

Parameters

  • Question (Type: String || Flag: Required): A yes/no question about the message context, for example: “Does this message contain profanity?”.

Returns

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

Context provided to AI

The same Discord message context as $aiWithCtx[] is automatically included, along with the full message content.

Example

$nomention
$if[$aiDecideWithCtx[Does this message contain profanity?]==true]
  $deleteMessage
  Please keep it clean!
$endif
!example What the heck is going on? Please keep it clean!

Tip

Use $aiDecide[] if you want to provide the content to evaluate manually instead of using the message context.