mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build for branch master: 5173583e26
This commit is contained in:
parent
967de87882
commit
b5096347b8
2 changed files with 4 additions and 3 deletions
|
|
@ -22374,8 +22374,9 @@ class RESTMethods {
|
|||
|
||||
search(target, options) {
|
||||
options = transformSearchOptions(options, this.client);
|
||||
for (const key in options) if (options[key] === undefined) delete options[key];
|
||||
|
||||
const queryString = querystring.stringify(options);
|
||||
const queryString = (querystring.stringify(options).match(/[^=&?]+=[^=&?]+/g) || []).join('&');
|
||||
|
||||
let type;
|
||||
if (target instanceof Channel) {
|
||||
|
|
|
|||
4
discord.master.min.js
vendored
4
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue