# Sticky WebHook

Sticky Webhooks are sticky embeds but they send the embed through a webhook. This lets you set the webhooks profile picture and name, so it's like having your own custom bot sending the sticky embed!

{% hint style="warning" %}
Remember to keep your webhook URL private!

*(Anyone with this URL can send messages into your server with it)*
{% endhint %}

## Commands

| Command                     | Description                                                                   | Notes                                                                                              |
| --------------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `?stickwebhook <message>`   | Create a sticky embed with a webhook.                                         |                                                                                                    |
| `?setwebhook <webhook URL>` | Set the channels webhook URL.                                                 | Keep the URL private! You must set the webhook URL before you can use the `?stickwebhook` command. |
| `?webhookstop`              | Stops the current sticky webhook embed.                                       |                                                                                                    |
| `?setimage <image link>`    | Set the small image in the sticky webhook embed.                              | Link must end with `.png` or `.jpg`                                                                |
| `?setbigimage <image link>` | Set the big image in thte sticky webhook embed.                               | Link must end with `.png` or `.jpg`                                                                |
| `?removebigimage`           | Removes the big image in the sticky webhook embed.                            |                                                                                                    |
| `?removeimage`              | Removes the small image in the sticky webhook embed.                          |                                                                                                    |
| `?getimage`                 | Get the images and image links that are set for sticky embeds in the channel. |                                                                                                    |

## Creating your first sticky webhook.

1. First, create the webhook in the channel. Go to `channel settings > integrations > webhooks > new webhook`. Here you can set the webhooks profile picture and name.
2. Next, copy the webhook link and in the channel use `?setwebhook <URL>` replacing `<URL>` with the webhooks URL.
3. Now you can use `?stickwebhook <message>` to create the sticky webhook.

{% hint style="info" %}
Since this webhook sticky is an embed it supports all markdown and setting the big & small image.
{% endhint %}

## Troubleshooting

If you are having issues with your sticky webhook try these steps:

* [ ] Reset the webhook URL by re-doing the command `?setwebhook <URL>`.
* [ ] Try `?webhookstop` and then re-stick your message with `?stickwebhook`.
* [ ] If these do not resolve your issue please reach out to us in our [support server](https://discord.com/invite/SvNQTtf).

### Embed Markdown Supported by WebHook Stickies:

| Markdown                                                   | Usage            | Example                           |
| ---------------------------------------------------------- | ---------------- | --------------------------------- |
| Bold                                                       | **`**text**`**   | **text**                          |
| Italics                                                    | `*text*`         | *text*                            |
| Spoilers                                                   | `\|\| text \|\|` | (Works in discord only)           |
| Strike-Through                                             | `~~text~~`       | ~~text~~                          |
| Code Block                                                 | `` `text` ``     | `text`                            |
| <p>Embedded Link</p><p><em>(Only works in embeds)</em></p> | `[text](link)`   | [Google](https://www.google.com/) |

You can also set the big and small images in the embed. See [here](#commands).
