Skip to content

Commit

Permalink
removed unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Taz03 committed Nov 10, 2023
1 parent 9ce7226 commit 9853a05
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
import org.togetherjava.tjbot.features.chatgpt.ChatGptService;
import org.togetherjava.tjbot.features.componentids.ComponentIdInteractor;

import javax.annotation.Nullable;

import java.awt.*;
import java.util.ArrayList;
import java.util.Arrays;
Expand Down Expand Up @@ -230,17 +228,6 @@ void writeHelpThreadToDatabase(long authorId, ThreadChannel threadChannel) {
});
}

private static MessageEmbed embedWith(CharSequence message) {
return embedWith(message, null);
}

private static MessageEmbed embedWith(CharSequence message, @Nullable String imageUrl) {
return new EmbedBuilder().setColor(AMBIENT_COLOR)
.setDescription(message)
.setImage(imageUrl)
.build();
}

Optional<Role> handleFindRoleForCategory(String category, Guild guild) {
String roleName = category + categoryRoleSuffix;
Optional<Role> maybeHelperRole = guild.getRolesByName(roleName, true).stream().findAny();
Expand Down

0 comments on commit 9853a05

Please sign in to comment.