Make tags staff-only

This commit is contained in:
Isaac 2021-05-18 23:02:51 +01:00
parent c03a32dbb4
commit 7255e76206
No known key found for this signature in database
GPG Key ID: F6812DBC6719B4E3

View File

@ -24,7 +24,8 @@ module.exports = class TagCommand extends Command {
example: i18n('commands.tag.args.tag.example'), example: i18n('commands.tag.args.tag.example'),
required: false, required: false,
} }
] ],
staff_only: true
}); });
} }
@ -61,7 +62,7 @@ module.exports = class TagCommand extends Command {
.setFooter(settings.footer, message.guild.iconURL()) .setFooter(settings.footer, message.guild.iconURL())
); );
} }
let expected = placeholders let expected = placeholders
.filter(p => p.startsWith(':')) .filter(p => p.startsWith(':'))
.map(p => { .map(p => {