put in code so it dosent ping people if a tag is a @
This commit is contained in:
parent
f9bb49ff8b
commit
fb3bd8a85c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue