You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new guild based on a template. Returns a [guild](/docs/resources/guild#guild-object) object on success. Fires a [Guild Create](/docs/events/gateway-events#guild-create) Gateway event.
111
-
112
-
:::warn
113
-
This endpoint can be used only by bots in less than 10 guilds.
Copy file name to clipboardExpand all lines: docs/resources/guild.mdx
-71Lines changed: 0 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -699,77 +699,6 @@ We are making significant changes to the Membership Screening API specifically r
699
699
}
700
700
```
701
701
702
-
## Create Guild
703
-
<Routemethod="POST">/guilds</Route>
704
-
705
-
Create a new guild. Returns a [guild](/docs/resources/guild#guild-object) object on success. Fires a [Guild Create](/docs/events/gateway-events#guild-create) Gateway event.
706
-
707
-
:::warn
708
-
This endpoint can be used only by bots in less than 10 guilds.
When using the `roles` parameter, the first member of the array is used to change properties of the guild's `@everyone` role. If you are trying to bootstrap a guild with additional roles, keep this in mind.
730
-
:::
731
-
732
-
:::info
733
-
When using the `roles` parameter, the required `id` field within each role object is an integer placeholder, and will be replaced by the API upon consumption. Its purpose is to allow you to [overwrite](/docs/resources/channel#overwrite-object) a role's permissions in a channel when also passing in channels with the channels array.
734
-
:::
735
-
736
-
:::warn
737
-
When using the `channels` parameter, the `position` field is ignored, and none of the default channels are created.
738
-
:::
739
-
740
-
:::info
741
-
When using the `channels` parameter, the `id` field within each channel object may be set to an integer placeholder, and will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels by setting the `parent_id` field on any children to the category's `id` field. Category channels must be listed before any children.
742
-
:::
743
-
744
-
:::warn
745
-
The `region` field is deprecated and is replaced by [channel.rtc_region](/docs/resources/channel#channel-object-channel-structure).
0 commit comments