# Data

I'll take user data as an example for this.

### What is user data & how does it work?

User data is a way of storing data bound to somebody. (A discord user specifically)

Data can have:&#x20;

* A Name: How you'll be able to select the value
* A Value: Whatever you wish

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

User Data is global (meaning it can be accessed from anywhere) whilst Member Data is per-guild (meaning it can be accessed from the server the member is in)

***

Default Value

* The value that will be returned if the data does not exist

Data Name

* The name of the data

***

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

What you use as the data name, you'll have to later remember to put inside the "Get User Data" Data Name input.


---

# 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://botmakerfordiscord.gitbook.io/manual/data.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.
