make it better ig

This commit is contained in:
night0721 2022-02-02 04:01:05 +08:00
parent 1a3e93ddf9
commit 0d456c896b

View file

@ -114,11 +114,6 @@ client.on("messageCreate", async message => {
text: `Tactical Protection by ${client.author}`, text: `Tactical Protection by ${client.author}`,
icon_url: client.user.displayAvatarURL(), icon_url: client.user.displayAvatarURL(),
}); });
message
.delete()
.catch(() => {})
.then(() => {
message.channel.send({ message.channel.send({
embeds: [_], embeds: [_],
}); });
@ -138,7 +133,7 @@ client.on("messageCreate", async message => {
), ),
], ],
}); });
}); message.delete().catch(() => {});
} }
if ( if (