mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 03:31:03 +00:00
Webpack build for branch master: c670209021
This commit is contained in:
parent
fef88c93b4
commit
07f20b46f3
2 changed files with 2 additions and 1 deletions
|
|
@ -23439,6 +23439,7 @@ class RESTMethods {
|
||||||
}
|
}
|
||||||
|
|
||||||
search(target, options) {
|
search(target, options) {
|
||||||
|
if (typeof options === 'string') options = { content: options };
|
||||||
if (options.before) {
|
if (options.before) {
|
||||||
if (!(options.before instanceof Date)) options.before = new Date(options.before);
|
if (!(options.before instanceof Date)) options.before = new Date(options.before);
|
||||||
options.maxID = long.fromNumber(options.before.getTime() - 14200704e5).shiftLeft(22).toString();
|
options.maxID = long.fromNumber(options.before.getTime() - 14200704e5).shiftLeft(22).toString();
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue