mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 08:13:09 +02:00
:)
This commit is contained in:
parent
4651650fdf
commit
f2a706aa95
@ -106,6 +106,7 @@ module.exports = class TagCommand extends Command {
|
|||||||
args.ticket.topic = t_row.topic ? this.client.cryptr.decrypt(t_row.topic) : null;
|
args.ticket.topic = t_row.topic ? this.client.cryptr.decrypt(t_row.topic) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// note that this regex is slightly different to the other
|
||||||
const text = tag.replace(/(?<!\\){{1,2}\s?:?([A-Za-z0-9._]+)\s?(?<!\\)}{1,2}/gi, ($, $1) => this.client.i18n.resolve(args, $1));
|
const text = tag.replace(/(?<!\\){{1,2}\s?:?([A-Za-z0-9._]+)\s?(?<!\\)}{1,2}/gi, ($, $1) => this.client.i18n.resolve(args, $1));
|
||||||
return await message.channel.send(
|
return await message.channel.send(
|
||||||
new MessageEmbed()
|
new MessageEmbed()
|
||||||
|
Loading…
Reference in New Issue
Block a user