Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update index.ts
Browse files Browse the repository at this point in the history
vcarl committed Jan 10, 2025
1 parent e751ef2 commit 1d7bd2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -226,6 +226,10 @@ bot.on("threadCreate", (thread) => {
bot.on("messageCreate", async (msg) => {
if (msg.author?.id === bot.user?.id) return;

if (msg.content.includes("🙂👍👍")) {
msg.channel.send("heya!");
}

handleMessage(msg);
});

0 comments on commit 1d7bd2e

Please sign in to comment.