$ai

Allows you to communicate with AI.

Syntax

$ai[Prompt;(System prompt;Response token limit)]

4 characters in the AI answer = 1 token

Parameters

  • Prompt (Type: String || Flag: Required): Prompt to the AI, for example: “Say something funny!”.
  • System prompt (Type: String || Flag: Optional): System prompt to the AI, for example: “Act funny”.
  • Response token limit (Type: Integer || Flag: Optional): Limit length of the response generated by AI.

Example

$nomention
$ai[What is 2+5?;You are a math teacher]
!example The answer is 7

We spent 3 tokens because the bot response length is 15. 15/4=3 (no rounding)

Use $aiQuota to know how many tokens you have left.