Recommendations by @moosecrap and @tks_ftw
This commit is contained in:
@@ -70,6 +70,9 @@ client.on('message', async message => {
|
|||||||
console.log(`Message from Unauthorized Guild ${message.guild.name}!`);
|
console.log(`Message from Unauthorized Guild ${message.guild.name}!`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Pre-Work
|
||||||
|
// Do a few things that may be helpful
|
||||||
|
const d = new Date();
|
||||||
// Process Section
|
// Process Section
|
||||||
// Check for the shutup message
|
// Check for the shutup message
|
||||||
if (message.content === "~") {
|
if (message.content === "~") {
|
||||||
@@ -97,7 +100,7 @@ client.on('message', async message => {
|
|||||||
switch(message.content) {
|
switch(message.content) {
|
||||||
case "daytona":
|
case "daytona":
|
||||||
case "e":
|
case "e":
|
||||||
if (Math.random() < 0.8) return;
|
if ([0,5,6].includes(d.getDay()) && Math.random() < 0.8) return;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user