> For the complete documentation index, see [llms.txt](https://phunks.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phunks.gitbook.io/knowledge-base/built-by-phunks/for-the-pham/phunkbot/features.md).

# FEATURES

PHUNKBOT IS MODULAR AND CAN AiVOLVE EVEN FURTHER IN THE FUTURE

## <mark style="color:yellow;">`SALES MODULE`</mark>

This module is called `Erc721SalesService` and enables PhunkBot to post all Sales to Twitter and Discord simultaneously. To customise, just edit `/src/config.ts` file and let PhunkBot do its magic.

<details>

<summary>MODULE</summary>

{% code title="app.module.ts" %}

```typescript
import { Erc721SalesService } from './erc721sales.service';
```

{% endcode %}

</details>

<details>

<summary>ON TWITTER</summary>

#### Sample of PhunkBot Log for successfully processed Sales event

```log
2023-11-28 00:43:15] [base.service] [info]: Successfully tweeted: 1729299877790662770 -> Phunk #2949 was flipped for Ξ0.202 ($411) by servo.eth
| https://t.co/0MvKrg7ULB https://t.co/26upLUEDHu 
```

#### Output:

[https://x.com/PhunkBot/status/1729299877790662770](https://x.com/PhunkBot/status/1729299877790662770?s=20)

<img src="https://2655375593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZX46fZLl1vCmsmnasnrn%2Fuploads%2FO4GAgFikCkeXzFpp6wrY%2FBildschirmfoto%202023-11-29%20um%2008.02.44.png?alt=media&amp;token=74bfa391-eab7-4032-8d4c-4b50b195c33e" alt="" data-size="original">

</details>

<details>

<summary>ON DISCORD</summary>

#### Discord Output for tweet above

<img src="https://2655375593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZX46fZLl1vCmsmnasnrn%2Fuploads%2F5kL6SI300r4vZirqG464%2FBildschirmfoto%202023-11-28%20um%2015.34.02.png?alt=media&amp;token=cf1ffba9-2238-4f49-852a-daa5b8168137" alt="" data-size="original">

</details>

<details>

<summary>SUPPORTED</summary>

* [NotLarvaLabs](/knowledge-base/built-by-phunks/for-the-pham/notlarvalabs.com/notlarvalabs.md) marketplace - Support for Bids, Buys and Sells.
* BLUR.io - Sweeps, Buys and Sells & support for **ERC20** "blurio pool" wrapped ETH.
* OpenSea marketplace (inkl. SeaPort) - Sweeps, Buys and Sells.
* LooksRare v2 - Sweeps, Buys and Sells.
* NFTX - Sweeps, Buys and Sells.
* X2Y2 - Sweeps, Buys and Sells.
* **MEV** sniping bot exotic transactions.
* <mark style="background-color:orange;">**CLI mode feature:**</mark> [<mark style="background-color:orange;">**CLI**</mark>](/knowledge-base/built-by-phunks/for-the-pham/phunkbot/tutorials.md) <mark style="background-color:orange;">command implemented to replay transaction.</mark>
* Integrated **flywheel** (phunks.pro) sales into bot with custom Message.
* Integrated **Auctions** (phunks.auction) **sales only** with custom Message.
* **Embedded** discord bot design implemented with dynamic smart exchange **ICON** support.

</details>

{% hint style="info" %}
For all Sales Service functionalities and tutorials go to [TUTORIALS](/knowledge-base/built-by-phunks/for-the-pham/phunkbot/tutorials.md)
{% endhint %}

***

## <mark style="color:yellow;">`STATS MODULE`</mark>

This module is called `StatisticsService` and enables PhunkBot to index all transactions for your collection set under `/src/config.ts`.  With this indexed information, saved locally and synced in real time, your discord users get access to Volume stats, Trader stats and Token ownership info. \
It enables discord Application Commands like <mark style="color:blue;">`/volume`</mark> or <mark style="color:blue;">`/graph`</mark> and so much more.

<details>

<summary>MODULE</summary>

{% code title="app.module.ts" %}

```typescript
import { StatisticsService } from './extensions/statistics.extension.service';
```

{% endcode %}

</details>

<details>

<summary>ON DISCORD</summary>

#### Sample of PhunkBot Log for command <mark style="color:blue;">/owned \<wallet></mark>

```log
[2023-11-26 17:18:54] [statistics.service] [info]: ./token_images/phunk1313.png 
[2023-11-26 17:18:54] [statistics.service] [info]: ./token_images/phunk3301.png 
[2023-11-26 17:18:54] [statistics.service] [info]: ./token_images/phunk5799.png 
[2023-11-26 17:18:54] [statistics.service] [info]: ./token_images/phunk6128.png
```

#### Output:

<img src="https://2655375593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZX46fZLl1vCmsmnasnrn%2Fuploads%2FGyFuZFsJbIkpfFL193qw%2FBildschirmfoto%202023-11-28%20um%2015.54.57.png?alt=media&amp;token=b7f435c2-d788-4e9d-aa86-d2eb716c1910" alt="" data-size="original">

</details>

{% hint style="info" %}
For all Statistics Service Commands available check out [TUTORIALS](/knowledge-base/built-by-phunks/for-the-pham/phunkbot/tutorials.md)&#x20;
{% endhint %}

***

## <mark style="color:yellow;">`DAO MODULE`</mark>

This module is called `DAOService` and enables PhunkBot to autonomously govern custom Discord roles and provably fair token gated Voting system. \
In depth explanation and functions can be found under [GOVERNANCE](/knowledge-base/built-by-phunks/for-the-pham/phunkbot/governance.md).&#x20;

<details>

<summary>MODULE</summary>

{% code title="app.module.ts" %}

```typescript
import { DAOService } from './extensions/dao/dao.extension.service';
import { DAOController } from './extensions/dao/dao.controller';
```

{% endcode %}

</details>

<details>

<summary>ON DISCORD</summary>

#### Sample of PhunkBot command <mark style="color:blue;">/createpoll</mark>

<img src="https://2655375593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZX46fZLl1vCmsmnasnrn%2Fuploads%2FMDo1mLdlTZwUV0DeZzJb%2Fimage.png?alt=media&amp;token=4c4a9086-547c-4843-9ceb-9570f921eb69" alt="" data-size="original">

#### Output:

![](https://2655375593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZX46fZLl1vCmsmnasnrn%2Fuploads%2FGKfqlaRfep8aSB9ISzdC%2Fimage.png?alt=media\&token=81b90c8a-b927-45aa-8e22-daf14bab0de1)

</details>

{% hint style="info" %}
For all DAO Service Commands available check out [TUTORIALS](/knowledge-base/built-by-phunks/for-the-pham/phunkbot/tutorials.md)
{% endhint %}

***
