Skip to content

Commit

Permalink
no more sex
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekEagle committed Oct 12, 2023
1 parent a958ccc commit fc14ccf
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,21 +340,6 @@ if (!process.env.CLUSTERS || !process.env.CLUSTER_ID) {
}
});

// Sex Alarm!!!!
client.on("messageCreate", async (msg) => {
if (
msg.content.match(/sex/gi) &&
msg.author.id !== client.user.id &&
msg.author.id !== "691299412822982696"
) {
client.rest.channels.createMessage("1128231014909607948", {
content: `**${msg.author.username}** has **__sexed__** **${
msg.content.match(/sex/gi).length
}** time${msg.content.match(/sex/gi).length === 1 ? "" : "s"}!!!!!`,
});
}
});

// ========================================================
// TODO: Migrate Dad Bot to the new command handler (this includes the command modules and the event modules)
// ========================================================
Expand Down

0 comments on commit fc14ccf

Please sign in to comment.