Skip to content

Commit

Permalink
Consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 committed Aug 17, 2021
1 parent 2b23918 commit f8f77c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,9 @@ class Client extends EventEmitter {
*/
createThreadWithoutMessage(channelID, options) {
return this.requestHandler.request("POST", Endpoints.THREAD_WITHOUT_MESSAGE(channelID), true, {
auto_archive_duration: options.autoArchiveDuration,
name: options.name,
auto_archive_duration: options.autoArchiveDuration
type: options.type
}).then((channel) => Channel.from(channel, this));
}

Expand Down

0 comments on commit f8f77c6

Please sign in to comment.