Import
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Import Server
Section titled “Import Server”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.
json_file requiredThe 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 optionalA 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
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 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.