Skip to content

Commit 178a2ae

Browse files
spotless + update stufff
spotless + update stuff literallyspdumn
1 parent 4ba7abb commit 178a2ae

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

application/src/main/java/org/togetherjava/tjbot/config/Config.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ private Config(@JsonProperty(value = "token", required = true) String token,
7777
required = true) String logErrorChannelWebhook,
7878
@JsonProperty(value = "openaiApiKey", required = true) String openaiApiKey,
7979
@JsonProperty(value = "sourceCodeBaseUrl", required = true) String sourceCodeBaseUrl,
80-
@JsonProperty(value = "jshell", required = true) JShellConfig jshell,
81-
@JsonProperty(value = "starboard",
82-
required = true) StarboardConfig starboard) {
80+
@JsonProperty(value = "jshell", required = true) JShellConfig jshell,
81+
@JsonProperty(value = "starboard", required = true) StarboardConfig starboard) {
8382
this.token = Objects.requireNonNull(token);
8483
this.gistApiKey = Objects.requireNonNull(gistApiKey);
8584
this.databasePath = Objects.requireNonNull(databasePath);
@@ -345,10 +344,12 @@ public String getSourceCodeBaseUrl() {
345344
*/
346345
public JShellConfig getJshell() {
347346
return jshell;
348-
}
347+
}
348+
349349
/**
350-
* Gets the config for the Starboard
351-
* Contains the List of emoji names recognized by the starboard as well as the name of the channel with the starboard.
350+
* Gets the config for the Starboard Contains the List of emoji names recognized by the
351+
* starboard as well as the name of the channel with the starboard.
352+
*
352353
* @return the config of the Starboard
353354
*/
354355
public StarboardConfig getStarboard() {

application/src/main/java/org/togetherjava/tjbot/features/Features.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package org.togetherjava.tjbot.features;
22

33
import net.dv8tion.jda.api.JDA;
4-
54
import org.togetherjava.tjbot.config.Config;
65
import org.togetherjava.tjbot.db.Database;
76
import org.togetherjava.tjbot.features.basic.PingCommand;
87
import org.togetherjava.tjbot.features.basic.RoleSelectCommand;
98
import org.togetherjava.tjbot.features.basic.SlashCommandEducator;
9+
import org.togetherjava.tjbot.features.basic.Starboard;
1010
import org.togetherjava.tjbot.features.basic.SuggestionsUpDownVoter;
1111
import org.togetherjava.tjbot.features.bookmarks.BookmarksCommand;
1212
import org.togetherjava.tjbot.features.bookmarks.BookmarksSystem;

0 commit comments

Comments
 (0)