From 660ab272c54d93fd2d5f208a0fb7cc2bfc463a61 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 26 Jan 2023 22:43:28 -0700 Subject: [PATCH] utility.linvite: dysnomia fix --- src/modules/utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utility.js b/src/modules/utility.js index 7d5a256..c0ce938 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -278,7 +278,7 @@ lookupinvite.callback = async function (msg, line) { line = line.replace(/(https?:\/\/)?discord\.gg\//, ""); - const invite = await hf.bot.rest.request({ + const invite = await hf.bot.requestHandler.request({ method: "GET", path: "/invites/" + line + "?with_counts=1", });