mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 03:00:18 +00:00
Remove deprecation message after 30 seconds.
This commit is contained in:
parent
8a10697edd
commit
5208a3feb1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user