> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dogebot.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Copy, share and history

> Folders, share codes, Import JSON, version history and more.

## Keep things tidy with folders

On the **Commands** and **Events** pages you can make **folders**, like **Moderation** or **Economy**. Each folder has its own **⋯** menu.

## The ⋯ menu on every command and event

Press **⋯** on a row (or right-click the row) to:

| Option | What it does |
| - | - |
| **Share code** | Get a code a friend can use to copy your command. |
| **Duplicate** | Make a copy, so you can change it without breaking the original. |
| **Version history** | See older versions and bring one back. |
| **Tags** | Add little labels, so you can find things. |
| **Note** | Write a short note about it. |
| **Colour** | Give it a colour in the list. |
| **Move to folder** | Put it in a folder. |
| **Delete** | Remove it. |

## Share codes

A share code looks like `CMD-XXXXXXXX` for a command or `EVT-XXXXXXXX` for an event.

* **To share:** press **⋯**, then **Share code**, and send the code to a friend.
* **To use one:** press **New command**, then **Import from a share code**, and paste it.

Old codes that start with `DOGE-` still work.

## Version history

Every time you save, DogeBot keeps the **old** version, for **30 days** and up to **50 versions** for each command. Open **Version history** to look at an old version and **restore** it if your new change broke something.

## Import JSON

**Import JSON** opens a big window. Paste your blocks or message as text, or drop in a **.json** file. DogeBot checks it while you type and tells you clearly what is wrong, for example "Block 2 has an unknown type".

## Copy and paste blocks

Select blocks on the board and copy them, then paste them into another command. Turn on **Share copied blocks between tabs** in [Builder settings](/the-builders/builder-settings) to paste into a command open in another browser tab.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.