utility.linvite: dysnomia fix
This commit is contained in:
parent
8181bb510e
commit
660ab272c5
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue