docs(Constants): fix SweeperKeys type (#8157)

This commit is contained in:
Jan
2022-06-23 12:37:12 +02:00
committed by GitHub
parent bbdb5d980b
commit af04992ed3
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ exports.VoiceBasedChannelTypes = [ChannelType.GuildVoice, ChannelType.GuildStage
/**
* @typedef {Object} Constants Constants that can be used in an enum or object-like way.
* @property {SweeperKey} SweeperKey The possible names of items that can be swept in sweepers
* @property {SweeperKey[]} SweeperKeys The possible names of items that can be swept in sweepers
* @property {NonSystemMessageTypes} NonSystemMessageTypes The types of messages that are not deemed a system type
* @property {TextBasedChannelTypes} TextBasedChannelTypes The types of channels that are text-based
* @property {ThreadChannelTypes} ThreadChannelTypes The types of channels that are threads

View File

@@ -2972,7 +2972,7 @@ export type NonSystemMessageType =
| MessageType.ContextMenuCommand;
export const Constants: {
SweeperKeys: SweeperKey;
SweeperKeys: SweeperKey[];
NonSystemMessageTypes: NonSystemMessageType[];
TextBasedChannelTypes: TextBasedChannelTypes[];
ThreadChannelTypes: ThreadChannelType[];