# Production vs. Testing

## Production vs. Testing Environment

A VPS is for people that are ready to serve their bot in a **production environment**. Production simply means a version of your bot's code that is clear, concise, tested and mostly error-free. This means when you host your bot on a VPS, you can **leave it on** without having to modify code. You should work on changes using a "tester" bot, or another bot client that doesn't share the same token as your production bot. This is the **testing environment.**

So, to break it down.

1. Create a tester bot (run through the process of making another bot client)
2. You work on changes on your bot. Your client that's being tested should be the tester bot.
3. Purchase a VPS and set it up.&#x20;
4. Move your bot's code into your VPS and start it. **Make sure the token that your production bot is connecting to is correct, and not your development bot!**
5. Repeat from Step 2.

## Ready to purchase a VPS?

{% content-ref url="/pages/-LpnMSsLqSDVkhf\_nNxs" %}
[Purchasing a VPS](/guide-to-making-your-own-discord-bot/advanced/servers.md)
{% endcontent-ref %}


---

# 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://vinniehat-1.gitbook.io/guide-to-making-your-own-discord-bot/advanced/production-vs-testing.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.
