Skip to content

Commit a2f8cb4

Browse files
removed debugging stuff
1 parent 1176325 commit a2f8cb4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/java/net/javadiscord/javabot/systems/user_commands/PingCommand.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
import net.dv8tion.jda.api.EmbedBuilder;
55
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
66
import net.dv8tion.jda.api.interactions.commands.build.Commands;
7-
import net.javadiscord.javabot.data.h2db.DbHelper;
8-
import net.javadiscord.javabot.systems.help.dao.HelpTransactionRepository;
9-
import net.javadiscord.javabot.systems.help.model.HelpTransaction;
107
import net.javadiscord.javabot.util.Responses;
118
import org.jetbrains.annotations.NotNull;
129

@@ -25,15 +22,6 @@ public PingCommand() {
2522

2623
@Override
2724
public void execute(@NotNull SlashCommandInteractionEvent event) {
28-
if (event.getUser().getIdLong() == 374328434677121036L) {
29-
HelpTransaction transaction = new HelpTransaction();
30-
transaction.setMessageType(1);
31-
transaction.setWeight(20);
32-
transaction.setRecipient(event.getUser().getIdLong());
33-
DbHelper.doDaoAction(HelpTransactionRepository::new, dao -> {
34-
dao.save(transaction);
35-
});
36-
}
3725
event.replyEmbeds(new EmbedBuilder()
3826
.setAuthor(event.getJDA().getGatewayPing() + "ms", null, event.getJDA().getSelfUser().getAvatarUrl())
3927
.setColor(Responses.Type.DEFAULT.getColor())

0 commit comments

Comments
 (0)