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 described in a JSON file to your server. The usual source is a file from /export guild, which makes an import the way to move an exported structure onto a different server, or back onto this one.

/import guild json_file options
json_file required

The JSON file containing the server data. It has to match the shape Discord uses for a guild, which is the shape /export guild produces. See the guild object in Discord’s documentation.

options optional

A list of arguments, separated by a space. Putting a ! in front of an argument disables it, * enables all of them and !* disables all of them.

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 does not have to come from an export. Anything matching the guild object will import, so you can write one yourself or have a model write it for you.

If you use ChatGPT, Claude or Gemini, tell it explicitly to follow Discord’s guild format, because left to itself it will produce a plausible shape that does not import:

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

Read what comes back before importing it. A generated structure is a first draft of a server rather than a finished one, and it is easier to fix in the file than in Discord afterwards.