Commit 74457a1
committed
fix: get boardChannel from Optional
By the time we need to get the contents of boardChannel when we attempt
to insert the cool message, the boardChannel's optional will never be
empty, so use Optional#get() instead.1 parent 19b4724 commit 74457a1
File tree
1 file changed
+1
-1
lines changed- application/src/main/java/org/togetherjava/tjbot/features/basic
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments