Pular para o conteúdo
Xenon

Import

Este conteúdo não está disponível em sua língua ainda.

Apply the server settings, channels, and roles from a JSON file to your server. The file usually comes from /export guild. Importing it moves an exported structure onto a different server, or back onto this one.

/import guild json_file options
json_file required

The JSON file with the server data. It has to match the format Discord uses for a server, which is what /export guild produces. Discord’s documentation calls this the guild object.

options optional

A list of options, separated by spaces. Put ! in front of an option to turn it off. * turns all of them on and !* turns all of them off.

Values
settings channels delete-channels roles delete-roles
Default
delete-channels channels delete-roles roles settings
/import guild json_file: [FILE] options: !roles !delete-roles

Imports the channel layout and leaves your roles alone.

The file doesn’t have to come from an export. Any file in Discord’s guild format will import, so you can write one yourself or have an AI chatbot write it for you.

If you use ChatGPT, Claude, or Gemini, tell it to follow Discord’s guild format. Otherwise it tends to produce something that looks right but doesn’t import. For example:

Generate the JSON for a Discord server about GTA roleplay.
Follow the official Discord API specification for guild data.

Read what comes back before you import it. Treat it as a first draft of your server. It’s easier to fix in the file than in Discord afterwards.