# Time Restricions

This option allows you to restrict button interaction based on time. Choose the fitting option from the select menu.

<figure><img src="https://1774748854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtm6qMMlpBMQxEyJRV1d%2Fuploads%2FmEKFVjwl8Qc0ywOhO34z%2Fimage.png?alt=media&#x26;token=39c38581-0d97-4826-8c4b-fa204227b389" alt=""><figcaption><p>Time Restrictions Options</p></figcaption></figure>

Choosing the **Custom Time Limit** will open a form where you can enter the time **in minutes**. If you want to use a tool to calculate the time, you can use [this site](https://www.inchcalculator.com/time-to-minutes-calculator/).

Once you choose the fitting **Time Restriction** option, the embed is updated. If a member presses the button now, they cannot press the button again until the limited time has passed. If they click the button before this time is up, they will get the following response:

<figure><img src="https://1774748854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtm6qMMlpBMQxEyJRV1d%2Fuploads%2FbdoDrXrIwJh7vqsHowc3%2Fimage.png?alt=media&#x26;token=bb3a38c7-19b3-44d1-ab69-ddf79d796fe6" alt=""><figcaption><p>Time Restriction Response</p></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://docs.badbears.io/magic-embed-builder/magic-embed/components/time-restricions.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.
