Skip to content

Commit

Permalink
something with #34
Browse files Browse the repository at this point in the history
from my iphone
  • Loading branch information
artifishvr authored Apr 15, 2024
1 parent 6c4185e commit c7d98cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ client.on("ready", async () => {
});

function shouldIReply(message) {
if (message.author.id == client.user.id) return false;
if (message.author.bot) return false;
if (!message.content && !message.attachments) return false;
if (Math.random() < process.env.REPLY_CHANCE && !channels.includes(message.channel.id) && !message.mentions.has(client.user.id)) return false;
if (message.content.startsWith("!!")) return false;
Expand Down

0 comments on commit c7d98cc

Please sign in to comment.