Skip to content
This repository was archived by the owner on Apr 9, 2023. It is now read-only.

Commit ee49c4f

Browse files
author
Vatuu
committed
Merge remote-tracking branch 'origin/master'
2 parents dcd032b + 373e8bb commit ee49c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static class ReadyEvent implements ReadyCallback{
5757

5858
public class MainClass{
5959
public void startup(){
60-
DiscordEventHandler handler = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
60+
DiscordEventHandlers handlers = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
6161
System.out.println("Welcome " + user.username + "#" + user.discriminator + "!");
6262
}).build();
6363
}
@@ -70,7 +70,7 @@ simply pass an empty DiscordEventHandler Object.*
7070
To summarize:
7171
```java
7272
public void startup(){
73-
DiscordEventHandler handler = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
73+
DiscordEventHandlers handlers = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
7474
System.out.println("Welcome " + user.username + "#" + user.discriminator + "!");
7575
}).build();
7676
DiscordRPC.initialize("1234567890", handler, true);

0 commit comments

Comments
 (0)