We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d9856 commit 3265d04Copy full SHA for 3265d04
src/events/messageReactionAdd.ts
@@ -22,7 +22,10 @@ export default event({
22
}
23
24
} catch (error) {
25
- console.error(`Issue in messageReactionAdd: ${error}`);
+ // Couldn't get it to raise the unwanted error in the test server, so instead of
26
+ // checking for an error code we'll just filter out any errors that include this text
27
+ if (!`${error}`.includes('Not performed in a monitored channel'))
28
+ console.error(`Issue in messageReactionAdd: ${error}`);
29
30
},
31
});
0 commit comments