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