From fdfc152f112695c9cbe0dc8d0b5e55bc1a013d9c Mon Sep 17 00:00:00 2001 From: Aidan Date: Mon, 14 Apr 2025 21:04:21 -0400 Subject: [PATCH] hf: replace all ">" and "<" in username --- src/commands/gsmarena.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/gsmarena.js b/src/commands/gsmarena.js index db9ce08..6f5a01a 100644 --- a/src/commands/gsmarena.js +++ b/src/commands/gsmarena.js @@ -199,7 +199,7 @@ module.exports = (bot) => { let userName = String(ctx.from.first_name); if(userName.includes("<") && userName.includes(">")) { - userName = userName.replace("<", "").replace(">", ""); + userName = userName.replaceAll("<", "").replaceAll(">", ""); } const phone = ctx.message.text.split(" ").slice(1).join(" "); -- 2.47.2