# Premium Check Condition

<figure><img src="/files/JNkPyYiMbtt9JyXe6JxH" alt=""><figcaption></figcaption></figure>

The premium check condition allows you to run actions based off if your bot has premium or not. This condition is mainly used in BotGhost's pre-built modules, however it can be used in any command / event you create. The red block runs when the bot is not premium, while the green one runs when the bot is currently premium. The condition has no settings.

Here is a layout for this condition:

<figure><img src="/files/nZOsSg4P4lx2tmdY4bLf" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.botghost.com/custom-commands-and-events/conditions/premium-check-condition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
