mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 02:20: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] });
|
let msg = await message.channel.send({ embeds: [embed] });
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(async function() {
|
||||||
msg.delete();
|
try {
|
||||||
|
await msg.delete();
|
||||||
|
} catch (DiscordAPIError) {
|
||||||
|
}
|
||||||
}, 30000);
|
}, 30000);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.reply({
|
message.reply({
|
||||||
|
Loading…
Reference in New Issue
Block a user