From 77ec8f87850c57ba3456b4755d3063069cd26d2c Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 28 Jul 2022 22:03:03 +0300 Subject: [PATCH] only allow channels from given guild --- src/structure/client/Resolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/client/Resolver.js b/src/structure/client/Resolver.js index 946c0f1..35d2e17 100644 --- a/src/structure/client/Resolver.js +++ b/src/structure/client/Resolver.js @@ -346,7 +346,7 @@ class Resolver { const match = resolveable.match(id); const [, ch] = match; - const channel = await this.client.channels.fetch(ch).catch((e) => { }); //eslint-disable-line no-empty, no-empty-function, no-unused-vars + const channel = await CM.fetch(ch).catch((e) => { }); //eslint-disable-line no-empty, no-empty-function, no-unused-vars if (channel && filter(channel)) resolved.push(channel); } else if (name.test(resolveable)) {