# Welcome

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

## 🎁 Buy Me a Coffee

{% embed url="<https://www.buymeacoffee.com/beykant>" %}

## **⚙️ Installation** <a href="#installation" id="installation"></a>

**For&#x20;**<mark style="color:red;">**npm**</mark>

```sh
npm i canvafy
```

**For&#x20;**<mark style="color:blue;">**Yarn**</mark>

```sh
yarn add canvafy
```

## **✨ Features** <a href="#features" id="features"></a>

* Easy to use.
* Beginner friendly.
* Supports Discord.js v13 & v14 And Eris.
* [Patch Notes!](/canvafy/welcome/patch-notes.md)

## **📚 Usage** <a href="#usage" id="usage"></a>

```javascript
const canvafy = require("canvafy");
```

### **🌙 Example Of Code With Discord.js v14** <a href="#usage" id="usage"></a>

```javascript
const canvafy = require("canvafy");
const { Client, GatewayIntentBits } = require("discord.js");
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.Presences, GatewayIntentBits.Messages] });

client.on("ready", () => {
  console.log(`I connect to ${client.user.tag}`)
});
```

## **📷 Preview** <a href="#preview" id="preview"></a>

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

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

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

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

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

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

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

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

<figure><img src="https://cdn.discordapp.com/attachments/1084846966812442781/1090065534353145927/rank-928259219038302258.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://cdn.discordapp.com/attachments/1084846966812442781/1090066183589466224/rank-928259219038302258.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://cdn.discordapp.com/attachments/1084846966812442781/1090066475710165024/rank-928259219038302258.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://cdn.discordapp.com/attachments/1084846966812442781/1090066545117511822/rank-928259219038302258.png" alt=""><figcaption></figcaption></figure>


---

# 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://fivesobes.gitbook.io/canvafy/welcome.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.
