Commit e16f7d8
committed
QuoteBoardForwarder.java: don't care about reactions in the board itself
Great, we recently made a quotes board, and if a message gets 5 stars,
then it's added to the quotes board. What happens if someone reacts from
_within_ the quotes board itself?
Add an additional condition so that message reaction additions are not
counted within this feature if the reaction is in the quotes board itself.
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>1 parent a741f6f commit e16f7d8
File tree
1 file changed
+12
-6
lines changed- application/src/main/java/org/togetherjava/tjbot/features/basic
1 file changed
+12
-6
lines changedLines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
96 | | - | |
| 102 | + | |
97 | 103 | | |
98 | | - | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
0 commit comments