Skip to content

Commit

Permalink
Use ignorable_error instead of M.warn for autoreact issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Nov 9, 2024
1 parent 99a77a1 commit 573efa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/autoreact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class Autoreact extends BotComponent {
if (reaction !== undefined) {
await message.react(reaction);
} else {
M.warn("Unable to find emoji what");
this.wheatley.ignorable_error("Unable to find emoji what");
}
}
if (message.content.trim().match(/^ok\.?$/gi)) {
Expand All @@ -67,7 +67,7 @@ export default class Autoreact extends BotComponent {
if (reaction !== undefined) {
await message.react(reaction);
} else {
M.warn("Unable to find emoji nog4g");
this.wheatley.ignorable_error("Unable to find emoji nog4g");
}
}
if (message.channel.id == this.wheatley.channels.introductions.id) {
Expand All @@ -93,7 +93,7 @@ export default class Autoreact extends BotComponent {
if (reaction !== undefined) {
await message.react(reaction);
} else {
M.warn("Unable to find emoji chefskiss");
this.wheatley.ignorable_error("Unable to find emoji chefskiss");
}
}
} catch (e: any) {
Expand Down

0 comments on commit 573efa7

Please sign in to comment.