Skip to content

Commit

Permalink
Implement nog4g autoreact
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Sep 26, 2024
1 parent 7cd9fc9 commit 7cc5f97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/autoreact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ export default class Autoreact extends BotComponent {
await message.react(reaction);
}
}
if (message.content.includes("geeksforgeeks.org")) {
const reaction = message.guild!.emojis.cache.find(emoji => emoji.name === "nog4g");
if (reaction !== undefined) {
await message.react(reaction);
}
}
if (message.channel.id == this.wheatley.channels.introductions.id) {
if (message.member == null) {
// TODO: Ping zelis?
Expand Down

0 comments on commit 7cc5f97

Please sign in to comment.