> For the complete documentation index, see [llms.txt](https://discordlib.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://discordlib.js.org/0.5.2-1/classes/examplebot.md).

# exampleBot

A powerful discord bot making library to help you make discord bots. Super easy, 100 percent discord api coverage, and more! Discord.lib also allows you to interact with discord.js.

This function let the package download a example bot file with all code with filename `bot.js`&#x20;

### Parameter

| Parameter   | Description                                                                           | Required |
| ----------- | ------------------------------------------------------------------------------------- | -------- |
| destination | <p>download destination,</p><p>use "./" for downloads in the</p><p>current folder</p> | yes      |

### Example

```javascript
const dl = require("discord.lib")
dl.exampleBot("./")
//will create a bot.js file with all code in it
```
