mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
фиксики помогите
This commit is contained in:
parent
36b3b53b72
commit
7f56231876
1 changed files with 5 additions and 1 deletions
|
@ -200,7 +200,11 @@ module.exports = class {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
cmd.run(message, args, data);
|
cmd.run(message, args, data);
|
||||||
if (cmd.help.category === "Moderation" && data.guild.autoDeleteModCommands) setTimeout(() => message.delete(), 3000);
|
if (cmd.help.category === "Moderation" && data.guild.autoDeleteModCommands) {
|
||||||
|
setTimeout(() => {
|
||||||
|
if (message.deletable) message.delete();
|
||||||
|
}, 3000);
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
return message.error("misc:ERR_OCCURRED");
|
return message.error("misc:ERR_OCCURRED");
|
||||||
|
|
Loading…
Reference in a new issue