Remove deprecation message after 30 seconds.

This commit is contained in:
Christer Warén 2021-09-02 12:11:16 +03:00
parent 8a10697edd
commit 5208a3feb1

View File

@ -39,6 +39,10 @@ module.exports = {
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
msg.channel.send({ embeds: [embed] }); msg.channel.send({ embeds: [embed] });
setTimeout(function() {
msg.delete();
}, 30000);
} catch (error) { } catch (error) {
msg.reply(client.messages.runningCommandFailed); msg.reply(client.messages.runningCommandFailed);
console.error(error); console.error(error);