mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 08:41:25 +03:00
regex
This commit is contained in:
@@ -159,8 +159,8 @@ module.exports = {
|
||||
}
|
||||
|
||||
let text = config.tickets.text
|
||||
.replace('{{ name }}', message.author.username)
|
||||
.replace('{{ tag }}', message.author);
|
||||
.replace(/{{ ?name ?}}/gmi, message.author.username)
|
||||
.replace(/{{ ?(tag|mention) ?}}/gmi, message.author);
|
||||
|
||||
|
||||
let w = await c.send(
|
||||
|
Reference in New Issue
Block a user