Creates a new Discord guild (server). The bot must be in fewer than 10 guilds to use this endpoint. Icon must be a base64 encoded 128x128 image, and if afk_channel_id is set, afk_timeout must also be set.
iconstringBase64 encoded 128x128 image (JPEG, PNG, or GIF) for the guild icon.
nameRequiredstringThe name of the guild (2-100 characters).
rolesarrayArray of role objects for the new guild. The first role sets @everyone permissions.
regionstringVoice region ID (deprecated; handled automatically by Discord).
channelsarrayArray of channel objects for the new guild.
afk_timeoutintegerAFK timeout in seconds (60, 300, 900, 1800, 3600).
descriptionstringThe description for the guild.
afk_channel_idstringThe ID of the channel to which AFK users are moved. Must be a voice channel.
preferred_localestringThe preferred locale for a Community guild. Defaults to en-US.
system_channel_idstringThe ID of the channel where guild system messages are posted.
verification_levelintegerVerification level (0: None, 1: Low, 2: Medium, 3: High, 4: Highest).
system_channel_flagsintegerBitwise value of system channel flags that control which system messages are sent.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.