# 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="/files/Hwh4fO6GAeBe8A0rf8mx" 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="/files/ZucPxXfQAF8gTKd7XZXj" 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="/files/hZINgD2AFOtuXLt4SsuG" 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="/files/pQUysbZ1rfptNbNJaybP" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="/files/7m1OiRLchyHx7eAkL8Pw" 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](/fundamentals/advanced-customization/chat-personalities.md) on how to do that!


---

# 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.hyungpt.app/fundamentals/advanced-customization/webhooks-custom-pfp-+-name.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.
