Remove unneeded methods from MessageResponse
This commit is contained in:
@@ -3,15 +3,6 @@ package wtf.beatrice.hidekobot.objects;
|
||||
import net.dv8tion.jda.api.entities.MessageEmbed;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public record MessageResponse(String content, MessageEmbed embed) {
|
||||
public record MessageResponse(@Nullable String content, @Nullable MessageEmbed embed) {
|
||||
|
||||
@Nullable
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public MessageEmbed getEmbed() {
|
||||
return embed;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user