From 291af7e845126d10a5fd95c6a6576e0e40a9e0ac Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Sat, 28 Oct 2017 20:35:38 +1100 Subject: [PATCH] Change recent to timestamp because DiscordAPIError (#2065) are lovely arn't they? --- src/structures/shared/Search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/shared/Search.js b/src/structures/shared/Search.js index 971f2483d772..a852a508630f 100644 --- a/src/structures/shared/Search.js +++ b/src/structures/shared/Search.js @@ -11,7 +11,7 @@ const { TypeError } = require('../../errors'); * @property {ChannelResolvable} [channel] Channel to limit search to (only for guild search endpoint) * @property {UserResolvable} [author] Author to limit search * @property {string} [authorType] One of `user`, `bot`, `webhook`, or add `-` to negate (e.g. `-webhook`) - * @property {string} [sortBy='recent'] `recent` or `relevant` + * @property {string} [sortBy='timestamp'] `timestamp` or `relevant` * @property {string} [sortOrder='descending'] `ascending` or `descending` * @property {number} [contextSize=2] How many messages to get around the matched message (0 to 2) * @property {number} [limit=25] Maximum number of results to get (1 to 25)