mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fix
This commit is contained in:
parent
430e10aa40
commit
c5c1f2bf6e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue