mirror of
https://github.com/danbulant/discord.js
synced 2026-05-19 04:19:00 +00:00
This commit adds support for the `afk_channel_id`, `afk_timeout`, and `system_channel_id` parameters in the [create guild](https://discord.com/developers/docs/resources/guild#create-guild-json-params) endpoint by adding the `afkChannelID`, `afkTimeout`, and `systemChannelID` options in `GuildManager#create`. This commit also fixes a minor bug in `create` when specifying types for the channels due to the channel types not being changed from `'text'`, `'voice'` etc to the corresponding numbers, so Discord would return an error. |
||
|---|---|---|
| .. | ||
| blobReach.png | ||
| createGuild.js | ||
| disableMentions.js | ||
| escapeMarkdown.test.js | ||
| random.js | ||
| sendtest.js | ||
| shard.js | ||
| sharder.js | ||
| tester1000.js | ||
| voice.js | ||
| webhooktest.js | ||
| webpack.html | ||