From 3c2c18294c01224ca1d57061b2841d598e077588 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Fri, 17 May 2024 20:29:47 -0600 Subject: [PATCH] no s --- src/modules/utility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/utility.js b/src/modules/utility.js index b56fe05..fb37a27 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -765,7 +765,7 @@ lookupinvite.callback = async function (msg, line) { return "No arguments passed."; } - line = line.replace(/(https?:\/\/)?discord(\.gg|(app)?.com\/invites)\//, ""); + line = line.replace(/(https?:\/\/)?discord(\.gg|(app)?.com\/invite)\//, ""); if (decodeURI(line).indexOf("../") > -1) return "nuh uh"; @@ -2367,7 +2367,7 @@ guildinfo.callback = async function (msg, line) { invite = await hf.bot.requestHandler.request( "GET", `/invites/${guild.instant_invite.replace( - /(https?:\/\/)?discord(\.gg|(app)?.com\/invites)\//, + /(https?:\/\/)?discord(\.gg|(app)?.com\/invite)\//, "" )}?with_counts=true&with_expiration=true` );