Import
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Import server
Section titled “Import server”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.
json_file requiredThe 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 optionalA 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
settingschannelsdelete-channelsrolesdelete-roles- Default
delete-channels channels delete-roles roles settings
/import guild json_file: [FILE] options: !roles !delete-rolesImports the channel layout and leaves your roles alone.
Writing a structure by hand
Section titled “Writing a structure by hand”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.