# Webhooks (Custom PFP + Name)

Many users would like to change hyunGPT's profile picture along with its username for more immersive of a chat experience, but don't know how. The answer is webhooks!

{% hint style="info" %}
The webhooks feature is only available to premium subscribers. Upgrade at <https://patreon.com/hyunGPT>
{% endhint %}

In order to create your webhook, you must have the following permissions in your server:

* Manage Webhooks

Then, follow these steps to set up your webhook:

1. Create a webhook.

To do this, enter your channel settings and press "Integrations". Inside, Open the "Webhooks" tab.

<figure><img src="https://4104538128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHDPRXkfREszhmwdGobaz%2Fuploads%2F2zXBKolADfDD6paUuGrb%2Fimage.png?alt=media&#x26;token=4565e44e-b96b-4e54-bb29-28fd32dee380" alt=""><figcaption></figcaption></figure>

2. Create a webhook.

Once you have gotten to the page, press "Create Webhook" and start editing the webhook's information. This includes the name and profile picture.

<figure><img src="https://4104538128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHDPRXkfREszhmwdGobaz%2Fuploads%2FSJkH6Ju5h6XHkX2VgOez%2Fimage.png?alt=media&#x26;token=00185ed7-6e60-4e5b-b76b-067902464cf7" alt=""><figcaption></figcaption></figure>

3. Save your webhook's data. Then, press on the "Copy Webhook URL" button. You should have a link similar to this:

> <https://discord.com/api/webhooks/1231384915485134920/YjxCfGPECG2BbcLRNYGnrieHxRrQkorIOKpez4kSPSGuTYVye9trTikGNm02bQnaiMi_>

4. Then, create a session in the same channel that you created the webhook in.

<figure><img src="https://4104538128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHDPRXkfREszhmwdGobaz%2Fuploads%2F8EMOmeHCyoEtcl1OsMif%2Fimage.png?alt=media&#x26;token=4491245a-c59b-4622-aba0-380fc1f93e2b" alt=""><figcaption></figcaption></figure>

5. Run the /session settings command with the setting `webhook_url` set to the webhook URL you specified.

<figure><img src="https://4104538128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHDPRXkfREszhmwdGobaz%2Fuploads%2FbRpQHenSR8R1ptblnlCN%2Fimage.png?alt=media&#x26;token=11f6c98e-7013-4bb7-9449-b963db893cc5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4104538128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHDPRXkfREszhmwdGobaz%2Fuploads%2FvpxFJTRdeICHdz6Nc0xh%2Fimage.png?alt=media&#x26;token=b8d77262-fda3-49b0-a041-95e95cd7a8af" alt=""><figcaption></figcaption></figure>

6. Test it out by sending a message in the channel!

<figure><img src="https://4104538128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHDPRXkfREszhmwdGobaz%2Fuploads%2FWTX6rUMgl4up1zRtemGc%2Fimage.png?alt=media&#x26;token=053d89dc-66f7-41af-9195-7d55c4bc8e57" alt=""><figcaption></figcaption></figure>

Congratulations! You have successfully created a webhook for the bot to send messages through. Keep note that changing the username and PFP of the bot will not change the personality, refer to [chat-personalities](https://docs.hyungpt.app/fundamentals/advanced-customization/chat-personalities "mention") on how to do that!
