# Create gifts (manager-gifts)

The main command for managing gifts - /manager-gifts

## ✔️Menu: Edit <img src="https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-2312ba02272ff6bb9079b5af7530878a46fc2813%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20230810.png?alt=media" alt="" data-size="original">

* Comment - after receiving the gift, the user will see this comment.![](https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-1fb240c48445177935109daf8f008af3b0e39057%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20233016.png?alt=media)
* Thumbnail - displayed in the upper right corner after receiving the gift\
  ![](https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-f355ac14bd25e623ea3d807394353a4275e6591c%2Ffsdfs.png?alt=media)
* Image - displayed at the bottom after receiving the gift\
  ![](https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-e042867c7212bedd83d5789b47aed01b162f3f42%2F159Z_2107.w026.n002.628B.p1.628%20%5B%D0%BF%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%BD%D1%8Bfsd%D0%B9%5D-01.png?alt=media)
* Frame color - the color is displayed from the left edge of the embed after receiving the gift
* The maximum number of unique users is the number of people who will be able to receive a gift
* Number of gift receipts - how many times one person will be able to receive a gift
* Cooldown - the time in seconds after which it will be possible to receive a gift again
* Start and end dates - the dates during which it will be possible to receive a gift
* Turn Off / On - allows you to turn on and off the gift, in the off state - it will not be able to receive

## ✔️Button: Permissions

Allows you to select an existing preset of permissions\\

## ✔️Button: Members![](https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-b0705c752086042b855812192a61f8fd9bf0d0d9%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20231156.png?alt=media)

Allows you to edit members for this gift: set/delete the date of the last receipt, the number of receipts for any user\ <img src="https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-9d170cff2a2c0ea84b8c5a811f746494b54eafac%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20233244.png?alt=media" alt="" data-size="original">

## ✔️Button: Items ![](https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-979dc9aac19d2826f628cacb749a11a697314482%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20231307.png?alt=media)

Allows you to delete/edit/add items as a gift

The item ID can include the following parameters

* xp - experience
* currency - server currency
* rp - reputation
* ID of any item

![](https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-e24cbc63a30ba50046f6dc677006964152c746e8%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20233506.png?alt=media)

{% hint style="info" %}

#### ✔️How do I create a button with a generated ID?

1. You need to execute the command /components buttons add
2. The message\_url argument (link\_to\_message): Insert a link to a BOT message (can be generated using the /embed-generator or /say command) for which you want to attach a button
3. The "style" argument: Choose any style except Link
4. id\_or\_url argument (id\_or\_link): Insert previously generated ID
5. Arguments row, column (row, column): Select the location of the button
6. Label, emoji arguments (name, emoji): Choose emoji and text for the button
7. Execute the command<img src="https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-df96713290a7445653a908849bd9166f97b3acc0%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20231601.png?alt=media" alt="" data-size="line">

After the listed items, the bot will attach the button to the message. <img src="https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-d6acc9b207b17086f04aa2afe6fb711c24ec5c5e%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2007-02-2023%20232118.png?alt=media" alt="" data-size="original">
{% endhint %}

<figure><img src="https://2673676938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpDuTkEZ42ZOrmM4DUORM%2Fuploads%2Fgit-blob-8310a3e56a5d8c125069c09164e8099deae5c880%2Ffsdfs.png?alt=media" alt=""><figcaption></figcaption></figure>
