Commit 454f1aa
authored
Auto create threads for suggestions (#469)
* Auto create threads for suggestions
* added a condition to general checks
* made a method for thread creation
* added notnull annotation to message argument in createThread method
* removed unnecessary checks
* changed algorithm to generate thread titles
* removed unnecessary variable1 parent 9305cd0 commit 454f1aa
File tree
1 file changed
+18
-0
lines changed- application/src/main/java/org/togetherjava/tjbot/commands/basic
1 file changed
+18
-0
lines changedLines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
54 | 72 | | |
55 | 73 | | |
56 | 74 | | |
| |||
0 commit comments