Discord Advanced icon

Discord Advanced

Advanced Discord tools - Analytics, Moderation, Backup, and Automation

Overview

This node, named 'Discord Advanced', provides advanced tools for interacting with Discord servers, including analytics, moderation, backup, automation, and insights. Specifically, the 'Export Server Structure' operation under the 'Backup' resource exports the complete structure of a Discord server, including channels and roles, in a chosen format (JSON, CSV, or HTML). This is useful for server administrators who want to back up or document their server's configuration.

Use Case Examples

  1. Export the entire server structure of a Discord guild to JSON format for backup purposes.
  2. Generate an HTML report of the server's channels and roles for documentation or auditing.

Properties

Name Meaning
Guild ID The ID of the Discord server (guild) to export the structure from.
Export Format The format in which the server structure will be exported (JSON, CSV, or HTML).
Additional Options Optional settings to customize the export, such as including bots, minimum messages, attachments, spam threshold, inactive days, and max limit for processing items.

Output

JSON

  • guildId - The ID of the Discord server.
  • guildName - The name of the Discord server.
  • exportedAt - Timestamp when the export was performed.
  • channels - Array of channel objects including id, name, type, position, and parentId.
  • roles - Array of role objects including id, name, color, position, and permissions.

Dependencies

  • Discord API accessed via discord.js library using a bot token credential

Troubleshooting

  • Ensure the provided Guild ID is correct and the bot has access to the guild.
  • Verify the bot has permissions to fetch channels and roles in the guild.
  • If the channel or guild is not found or not accessible, the node will throw an error indicating the issue.
  • Check that the bot token credential is valid and has the necessary intents enabled for fetching guild data.

Links

Discussion