put in code so it dosent ping people if a tag is a @

This commit is contained in:
Loïc Bersier 2019-07-09 01:49:21 +02:00
parent f9bb49ff8b
commit fb3bd8a85c

View file

@ -33,7 +33,7 @@ class taglistCommand extends Command {
if (args.list) { if (args.list) {
let tagList = await Tag.findAll({attributes: ['trigger'], where: {serverID: message.guild.id}}); let tagList = await Tag.findAll({attributes: ['trigger'], where: {serverID: message.guild.id}});
const tagString = tagList.map(t => t.trigger).join(', ') || 'No tags set.'; const tagString = tagList.map(t => t.trigger).join(', ') || 'No tags set.';
return message.channel.send(`List of tags:\n${tagString}`); return message.channel.send(`List of tags:\n${tagString}`, {code: true});
} }
if (args.raw) { if (args.raw) {