Skip to content

Commit

Permalink
Change recent to timestamp because DiscordAPIError (#2065)
Browse files Browse the repository at this point in the history
are lovely arn't they?
  • Loading branch information
CyberiumShadow authored and iCrawl committed Oct 28, 2017
1 parent 0fc9459 commit 291af7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/shared/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 291af7e

Please sign in to comment.