diff --git a/structure/client/Resolver.js b/structure/client/Resolver.js index 755b95c..67d8cde 100644 --- a/structure/client/Resolver.js +++ b/structure/client/Resolver.js @@ -249,10 +249,10 @@ class Resolver { const failed = []; for (let elem of rest) { if (resolver) { - const [_resolved] = await resolver(elem, false, guild); + const _resolved = await resolver(elem, false, guild); if (_resolved) { - if (!resolved.includes(_resolved)) resolved.push(_resolved); - if (_resolved.id) elem = _resolved.id; + if (!resolved.includes(_resolved[0])) resolved.push(_resolved[0]); + if (_resolved[0].id) elem = _resolved[0].id; } else { failed.push(elem); continue;