utility.linvite: dysnomia fix

This commit is contained in:
Cynthia Foxwell 2023-01-26 22:43:28 -07:00
parent 8181bb510e
commit 660ab272c5
1 changed files with 1 additions and 1 deletions

View File

@ -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",
});