downloadExports

Exporting your commands and events can be useful when reaching out for support, transferring the code to another one of your bots, or for sharing with a friend using BotWiz.

As you can see here, we have created a basic kick command. We will be using this to demonstrate exporting and importing.

Exporting a Command/Event

Follow these steps to export a command:

1
2

Set a name and description

It is important to set a recognizable name and a description that explains the functionality of the export.

3

Exporting command/event content

Exporting a section:

Exporting a section allows you to only export a section of your command/event instead of having to import the whole command/event.

To export a section, you need to press SHIFT + DRAG to highlight the section you want to export, then give your export a name and a description, and then click Export Selected.


Exporting entire command/event:

To export the entire command/event, you can simply press Export All. This automatically exports all of your command/event's nodes.

4

Sharing your commands and events

Directly underneath the import/export menu, you can view your exported Migrations. By hovering over one of these migrations, you can import the migration into your current command, copy the migration's sharecode, or edit migration details. Create a sharecode if you are interested in importing this command somewhere else, such as on someone else's bot or into another bot that you own.

5

Importing your migrations

You can now import your migrations using the copied sharecode. Simply navigate back to the Migrations menu and select Import.

You can also import migrations by clicking the Import button on the Exports page.

Last updated