This commit is contained in:
Isaac (eartharoid) 2020-10-15 21:01:48 +01:00
parent 16876b1408
commit ecd9bff03c
2 changed files with 4 additions and 4 deletions

View File

@ -159,8 +159,8 @@ module.exports = {
} }
let text = config.tickets.text let text = config.tickets.text
.replace('{{ name }}', message.author.username) .replace(/{{ ?name ?}}/gmi, message.author.username)
.replace('{{ tag }}', message.author); .replace(/{{ ?(tag|mention) ?}}/gmi, message.author);
let w = await c.send( let w = await c.send(

View File

@ -158,8 +158,8 @@ module.exports = {
} }
let text = config.tickets.text let text = config.tickets.text
.replace('{{ name }}', u.username) .replace(/{{ ?name ?}}/gmi, u.username)
.replace('{{ tag }}', u); .replace(/{{ ?(tag|mention) ?}}/gmi, u);
let w = await c.send( let w = await c.send(