feat(ForumChannel): setDefaultForumLayout & fix bug

This commit is contained in:
March 7th
2022-12-25 10:35:06 +07:00
parent 67ab8277ed
commit ebdd92240b
6 changed files with 76 additions and 24 deletions

View File

@@ -1731,6 +1731,16 @@ exports.VideoQualityModes = createEnum([null, 'AUTO', 'FULL']);
*/
exports.SortOrderTypes = createEnum([null, 'LATEST_ACTIVITY', 'CREATION_DATE']);
/**
* The default forum layout to set on the {@link ForumChannel}
* * NOT_SET
* * LIST_VIEW
* * GALLERY_VIEW
* @typedef {string} ForumLayoutType
* @see {@link https://discord.com/developers/docs/resources/channel/#channel-object-forum-layout-types}
*/
exports.ForumLayoutTypes = createEnum(['NOT_SET', 'LIST_VIEW', 'GALLERY_VIEW']);
exports._cleanupSymbol = Symbol('djsCleanup');
function keyMirror(arr) {