discord.js/test
cherryblossom000 f2bbad36d5
feat(GuildManager): add AFK and system channel options in create (#4837)
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.
2020-09-25 23:44:32 +02:00
..
blobReach.png refactor: rewrite message creation (#2774) 2018-08-21 18:22:29 +02:00
createGuild.js feat(GuildManager): add AFK and system channel options in create (#4837) 2020-09-25 23:44:32 +02:00
disableMentions.js chore: merge v12-dev master into stable 2020-03-01 17:57:30 +00:00
escapeMarkdown.test.js chore: consistency/prettier (#3852) 2020-02-29 14:35:57 +01:00
random.js test: update tests (#3865) 2020-03-07 06:05:57 +01:00
sendtest.js chore: consistency/prettier (#3852) 2020-02-29 14:35:57 +01:00
shard.js test: update tests (#3865) 2020-03-07 06:05:57 +01:00
sharder.js test: update tests (#3865) 2020-03-07 06:05:57 +01:00
tester1000.js chore: consistency/prettier (#3852) 2020-02-29 14:35:57 +01:00
voice.js test: update tests (#3865) 2020-03-07 06:05:57 +01:00
webhooktest.js chore: consistency/prettier (#3852) 2020-02-29 14:35:57 +01:00
webpack.html chore: consistency/prettier (#3852) 2020-02-29 14:35:57 +01:00