mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
ещё
This commit is contained in:
parent
84868cfe64
commit
36b3b53b72
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ class Announcement extends Command {
|
|||
msg.delete();
|
||||
collector.stop(true);
|
||||
|
||||
message.delete();
|
||||
if (message.deletable) message.delete();
|
||||
}
|
||||
|
||||
if (tmsg.content.toLowerCase() === message.translate("common:YES").toLowerCase()) {
|
||||
|
@ -70,7 +70,7 @@ class Announcement extends Command {
|
|||
if (reason === "time") return message.error("misc:TIMES_UP");
|
||||
});
|
||||
|
||||
message.delete();
|
||||
if (message.deletable) message.delete();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue