# Leave System

![](https://i.imgur.com/xgYdzDg.png)

* **Why to choose `Iko's` leave system over other paid and famous bot's leave system?**

> **Answer :** In simple `Iko` provides the most advanced command based leave system. It also offers you numerous amount of variables so that you can have the leave embed as you want it to be.

## Some notable features :

* Fully customizable embeds/message sent in/with leave embed
* Have customized images generated by the bot to show user name and user avatar

## Commands :

**`/leave start` : start leave system**

> **Necessary Arguments :**
>
> * `channel` : Channel to send leave message in
>
> * `type` : Whether to setup default or custom leave system
>
> > **How does default leave system look?**
> >
> > ![](https://i.imgur.com/eKs9TJ9.png)

> **Optional Arguments :**
>
> * `message` : Leave message sent outside leave embed
>
> * `embed-title` : Title of leave embed
>
> * `embed-description` : Description of leave embed
>
> * `embed-color` : Color of leave embed (hex color with #)
>
> * `embed-image` : Image URL for image of leave embed
>
> > **How to have image like this?** ⠀
> >
> > <img src="https://i.imgur.com/5qrEnLs.png" alt="" data-size="original">
> >
> > Input `https://api.itzleo.xyz/leave?u=%user_name&a=%user_avatar%bg=abc.png&tc=4287f5&c=Cya-Soon` in image parameter.
> >
> > Replace `abc.png` with background image you want
> >
> > Replace `Cya-Soon` with text you want to display
> >
> > * Incase you have space between words, replace them space with `-`. For example if you want it to be `Leave leave` you have to pass `Leave-leave`
> > * Replace `4287f5` with hex color (without `#`) for text
>
> * `embed-avatar` : Whether to display member avatar in leave embed
> * `embed-timetamp` : Whether to show timestamp in footer of leave embed or not
> * `embed-footer-text` : Text of footer in leave embed

> **Variables :**
>
> *This variables can be used for `embed-description` ,`embed-title` , `embed-footer-text` & `embed-image` arguments*
>
> * `%user%` : replaced with mention (@user) of user who left
>
> * `%user_name%` : replaced with name of user who left
>
> * `%user_id%` : replaced with ID of user who left
>
> * `%user_dis%` : replaced with discriminator of user who left
>
> * `%user_avatar%` : replaced with image URL of user's avatar
>
> * `%user_created%` : replaced with user's creation timestamp
>
> * `%user_join%` : replaced with timestamp when user who left
>
> * `%member_count%` : replaced with number of members in your server
>
> * `%cur_time%` : replaced with current timestamp
>
> * `%server_id%` : replaced with server ID
>
> * `%server_name%` : replaced with server name

**`/leave stop` : stop leave system**

**`/leave fetch` : see how leave embed looks**


---

# 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://iko.itzleo.com/member-systems/leave-system.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.
