delete triggering message
This commit is contained in:
parent
8a7766f116
commit
d28559c43b
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
exports.run = (client, message, args, level) => {
|
||||
message.delete();
|
||||
if (!args[0]) {
|
||||
const myCommands = message.guild ? client.commands.filter(cmd => client.levelCache[cmd.conf.permLevel] <= level) : client.commands.filter(cmd => client.levelCache[cmd.conf.permLevel] <= level && cmd.conf.guildOnly !== true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue