mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 08:13:09 +02:00
Make tags staff-only
This commit is contained in:
parent
c03a32dbb4
commit
7255e76206
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user