utility.linvite: dysnomia fix

This commit is contained in:
Cynthia Foxwell 2023-01-26 22:43:28 -07:00
parent 8181bb510e
commit 660ab272c5

View file

@ -278,7 +278,7 @@ lookupinvite.callback = async function (msg, line) {
line = line.replace(/(https?:\/\/)?discord\.gg\//, ""); line = line.replace(/(https?:\/\/)?discord\.gg\//, "");
const invite = await hf.bot.rest.request({ const invite = await hf.bot.requestHandler.request({
method: "GET", method: "GET",
path: "/invites/" + line + "?with_counts=1", path: "/invites/" + line + "?with_counts=1",
}); });