> For the complete documentation index, see [llms.txt](https://docs.discordbotfactory.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discordbotfactory.com/readme.md).

# Discord Bot Factory

<h2 align="center">Documentation Hub</h2>

<p align="center">Explore our resources or join our Discord server for direct help.</p>

<p align="center"><a href="https://store.steampowered.com/app/4459960/Discord_Bot_Factory/" class="button primary" data-icon="steam-symbol">Steam</a> <a href="https://discord.com/invite/KZCtEA5hAd" class="button secondary" data-icon="discord">Discord</a></p>

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center"><i class="fa-stars">:stars:</i></td><td align="center">No code</td><td align="center">Create Discord bots with no code</td><td><a href="https://store.steampowered.com/app/4459960/Discord_Bot_Factory/">https://store.steampowered.com/app/4459960/Discord_Bot_Factory/</a></td><td><a href="/files/LHIOZGoI6dPF36TuRaxH">/files/LHIOZGoI6dPF36TuRaxH</a></td></tr><tr><td align="center"><h4><i class="fa-book-open">:book-open:</i></h4></td><td align="center"><h3><strong>Documentation</strong></h3></td><td align="center">Get started in under 5 minutes</td><td><a href="/spaces/p603l6izRqmZfqN60GqQ/pages/LThc2RqOxBKU56Qt3TMy">/spaces/p603l6izRqmZfqN60GqQ/pages/LThc2RqOxBKU56Qt3TMy</a></td><td><a href="/files/IaUMODRBBSBL8eUaPX09">/files/IaUMODRBBSBL8eUaPX09</a></td></tr><tr><td align="center"><h4><i class="fa-terminal">:terminal:</i></h4></td><td align="center"><h3><strong>Changelog</strong></h3></td><td align="center">Check out what's new</td><td><a href="/spaces/9EFq16bPZ129RZ024y5s/pages/xSKACgaFjsHdWkvrL7EZ">/spaces/9EFq16bPZ129RZ024y5s/pages/xSKACgaFjsHdWkvrL7EZ</a></td><td><a href="/files/606x0Nwl5dxNiJtyi9tK">/files/606x0Nwl5dxNiJtyi9tK</a></td></tr></tbody></table>

{% columns %}
{% column width="50%" valign="middle" %}

### Get started in <mark style="color:blue;">**5 minutes**</mark>

Setting up your bot should be easy. With clear tutorials and simple instructions, you’ll be up and running in minutes, not hours.

Read our [Documentation](/documentation/readme.md), join our support [Discord](https://discord.com/invite/KZCtEA5hAd) or check out our [Youtube](https://www.youtube.com/@discordbotfactory) tutorials.

<a href="/spaces/p603l6izRqmZfqN60GqQ" class="button primary" data-icon="rocket-launch">Get started</a> <a href="https://discord.com/invite/KZCtEA5hAd" class="button secondary" data-icon="discord">Discord</a>

{% endcolumn %}

{% column width="50%" valign="middle" %}

<div align="center"><figure><img src="/files/dr713J9jlIwMuN7jCzU4" alt=""><figcaption></figcaption></figure></div>
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column width="58.333333333333336%" valign="middle" %}
{% code title="bot.js" %}

```javascript
// Listen for Discord message
client.on('messageCreate', async (message) => {
  // Ignore bot messages
  if (message.author.bot) return;

  // Check for the !ping command
  if ((message.content || '').trim().toLowerCase() === '!ping') {
    // Reply to the user
    await message.reply('Pong! (starter template)');
  }
});
```

{% endcode %}
{% endcolumn %}

{% column width="41.666666666666664%" valign="middle" %}

### Generate <mark style="color:blue;">real bot code</mark>&#x20;

Generate a fully working Discord bot in just a few clicks. It works with all major hosting providers.

<a href="https://discordbotfactory.com/" class="button primary" data-icon="globe-pointer">Website</a> <a href="/spaces/9EFq16bPZ129RZ024y5s/pages/xSKACgaFjsHdWkvrL7EZ" class="button secondary" data-icon="clock-rotate-left">Changelog</a>

{% endcolumn %}
{% endcolumns %}

***

<h2 align="center">Join a growing community of <mark style="color:blue;">developers</mark></h2>

<p align="center">Join our Discord community to chat with other users, get support and participate in events.</p>

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th data-hidden align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><h3><strong>Discord community</strong></h3></td><td align="center">Join our Discord community to ask questions, get help, share resources, join events, or chat with other members.</td><td align="center"><h4><i class="fa-discord">:discord:</i></h4></td><td data-object-fit="fill"><a href="/files/DgVDjlNApeoPpqRcQIE8">/files/DgVDjlNApeoPpqRcQIE8</a></td><td><a href="https://discord.com/invite/KZCtEA5hAd">https://discord.com/invite/KZCtEA5hAd</a></td></tr><tr><td align="center"><h3><strong>Website</strong></h3></td><td align="center">Visit our Website for more information and useful links</td><td align="center"></td><td data-object-fit="contain"><a href="/files/pf3NpU90SrHunhShDne0">/files/pf3NpU90SrHunhShDne0</a></td><td><a href="https://discordbotfactory.com/">https://discordbotfactory.com/</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.discordbotfactory.com/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
