mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
Updated messageCreate event
This commit is contained in:
parent
523c94aafb
commit
d0c10018f3
@ -41,8 +41,11 @@ module.exports = {
|
||||
|
||||
let msg = await message.channel.send({ embeds: [embed] });
|
||||
|
||||
setTimeout(function() {
|
||||
msg.delete();
|
||||
setTimeout(async function() {
|
||||
try {
|
||||
await msg.delete();
|
||||
} catch (DiscordAPIError) {
|
||||
}
|
||||
}, 30000);
|
||||
} catch (error) {
|
||||
message.reply({
|
||||
|
Loading…
Reference in New Issue
Block a user