diff --git a/bot.js b/bot.js index 979d418..f46f157 100644 --- a/bot.js +++ b/bot.js @@ -70,6 +70,9 @@ client.on('message', async message => { console.log(`Message from Unauthorized Guild ${message.guild.name}!`); return; } + // Pre-Work + // Do a few things that may be helpful + const d = new Date(); // Process Section // Check for the shutup message if (message.content === "~") { @@ -97,7 +100,7 @@ client.on('message', async message => { switch(message.content) { case "daytona": case "e": - if (Math.random() < 0.8) return; + if ([0,5,6].includes(d.getDay()) && Math.random() < 0.8) return; default: } }