From 3cac01fa60d784837eb0b338d06f2b86f5aab439 Mon Sep 17 00:00:00 2001 From: Navy Date: Mon, 28 Sep 2020 01:54:19 +0300 Subject: [PATCH] bugfix --- structure/client/Resolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/client/Resolver.js b/structure/client/Resolver.js index 67d8cde..02acaf0 100644 --- a/structure/client/Resolver.js +++ b/structure/client/Resolver.js @@ -279,7 +279,7 @@ class Resolver { const _resolved = await resolver(elem, false, guild); if (_resolved) { if (!resolved.includes(_resolved[0])) resolved.push(_resolved[0]); - elem = _resolved[0].id; + if (_resolved[0].id) elem = _resolved[0].id; } else { failed.push(elem); //continue;