Skip to content

Commit

Permalink
Removed token from example (yes I reset it..) and guild ID
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbker committed May 15, 2023
1 parent 3f1bd4a commit a0cc158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/example/MyBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ public final class MyBot {
private final TestClass testClass = new TestClass();

public MyBot() throws InterruptedException {
JDA jda = JDABuilder.createDefault("OTgyNjAwNDk2MTg5Njc3NTY4.G4m6J3.fx7htjmaQgMUFxIPBZhI-tYDgLjw4cTUCjtofM")
JDA jda = JDABuilder.createDefault("TOKEN")
.enableIntents(GatewayIntent.GUILD_MESSAGES, GatewayIntent.MESSAGE_CONTENT, GatewayIntent.GUILD_MEMBERS)
.build()
.awaitReady();

new Neptune.Builder(jda, this)
.addGuilds(jda.getGuildById("1106292483228450937"))
.addGuilds(jda.getGuildById("GUILD_ID"))
.clearCommands(true)
.registerAllListeners(true)
.create();
Expand Down

0 comments on commit a0cc158

Please sign in to comment.