From c5c1f2bf6ebfa97066744786f430719b015c6124 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 26 Jan 2022 01:25:28 +0500 Subject: [PATCH] fix --- commands/Images/steamcard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Images/steamcard.js b/commands/Images/steamcard.js index f7799c43..770f6f98 100644 --- a/commands/Images/steamcard.js +++ b/commands/Images/steamcard.js @@ -17,7 +17,7 @@ class SteamCard extends Command { } async run(message, args) { - const nArgs = args.join(" ").split(new RegExp(/ <@!(\d+)>/)); + const nArgs = args.join(" ").split(new RegExp(/ <(@!|@)(\d+)>/)); if (!args[0]) return message.error("images/qrcode:MISSING_TEXT"); const user = await this.client.resolveUser(nArgs[1]) || message.author;