Skip to content

Commit

Permalink
Allow editChannel to change the nsfw status of a channel (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
macdja38 authored and abalabahaha committed Aug 17, 2017
1 parent d432dd6 commit 1b724f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Client.js
Expand Up @@ -346,6 +346,7 @@ class Client extends EventEmitter {
* @arg {String} [options.icon] The icon of the channel as a base64 data URI (group channels only). Note: base64 strings alone are not base64 data URI strings
* @arg {String} [options.ownerID] The ID of the channel owner (group channels only)
* @arg {String} [options.topic] The topic of the channel (guild text channels only)
* @arg {Boolean} [options.nsfw] The nsfw status of the channel (guild channels only)
* @arg {Number} [options.bitrate] The bitrate of the channel (guild voice channels only)
* @arg {Number} [options.userLimit] The channel user limit (guild voice channels only)
* @arg {String} [reason] The reason to be displayed in audit logs
Expand All @@ -357,6 +358,7 @@ class Client extends EventEmitter {
icon: options.icon,
owner_id: options.ownerID,
topic: options.topic,
nsfw: options.nsfw,
bitrate: options.bitrate,
user_limit: options.userLimit,
reason: reason
Expand Down

0 comments on commit 1b724f5

Please sign in to comment.